/external/chromium_org/components/policy/core/common/cloud/ |
H A D | policy_header_service_unittest.cc | 73 std::string dm_token; local 74 dict->GetString("user_dmtoken", &dm_token); 75 EXPECT_EQ(dm_token, expected_dmtoken);
|
H A D | cloud_policy_client.h | 106 virtual void SetupRegistration(const std::string& dm_token, 185 const std::string& dm_token() const { return dm_token_; } function in class:policy::CloudPolicyClient
|
H A D | cloud_policy_client_unittest.cc | 142 void ExpectPolicyFetch(const std::string& dm_token, argument 149 "", "", dm_token, user_affiliation, 154 void ExpectUnregistration(const std::string& dm_token) { argument 160 "", "", dm_token, "", client_id_,
|
H A D | component_cloud_policy_store.cc | 111 const std::string& dm_token) { 114 DCHECK(dm_token_.empty() || dm_token == dm_token_); 116 dm_token_ = dm_token; 110 SetCredentials(const std::string& username, const std::string& dm_token) argument
|
H A D | cloud_policy_client.cc | 78 void CloudPolicyClient::SetupRegistration(const std::string& dm_token, argument 80 DCHECK(!dm_token.empty()); 84 dm_token_ = dm_token;
|
H A D | component_cloud_policy_service.cc | 67 // |username| and |dm_token| will be used to validate the cached policies. 68 void SetCredentials(const std::string& username, const std::string& dm_token); 126 const std::string& dm_token) { 127 if (username.empty() || dm_token.empty()) { 131 store_.SetCredentials(username, dm_token); 124 SetCredentials( const std::string& username, const std::string& dm_token) argument
|
H A D | device_management_service.cc | 367 void DeviceManagementRequestJob::SetDMToken(const std::string& dm_token) { argument 368 dm_token_ = dm_token;
|
/external/chromium_org/chrome/browser/policy/cloud/ |
H A D | user_policy_signin_service_base.cc | 49 const std::string& dm_token, 57 client->SetupRegistration(dm_token, client_id); 47 FetchPolicyForSignedInUser( const std::string& username, const std::string& dm_token, const std::string& client_id, scoped_refptr<net::URLRequestContextGetter> profile_request_context, const PolicyFetchCallback& callback) argument
|
H A D | user_policy_signin_service_unittest.cc | 121 void OnRegisterCompleted(const std::string& dm_token, argument 124 dm_token_ = dm_token; 292 std::string expected_dm_token = "dm_token"; 702 std::string expected_dm_token = "dm_token";
|
/external/chromium_org/chrome/browser/android/signin/ |
H A D | signin_manager_android.cc | 171 const std::string& dm_token, 173 dm_token_ = dm_token; 170 OnPolicyRegisterDone( const std::string& dm_token, const std::string& client_id) argument
|
/external/chromium_org/chrome/browser/policy/test/ |
H A D | local_policy_test_server.cc | 118 void LocalPolicyTestServer::RegisterClient(const std::string& dm_token, argument 124 client_dict->SetString(kClientStateKeyDeviceToken, dm_token); 136 clients_.Set(dm_token, client_dict.release());
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
H A D | user_cloud_policy_store_chromeos.cc | 410 const std::string& dm_token, 425 dm_token, 428 InstallLegacyTokens(dm_token, device_id); 433 const std::string& dm_token, 450 InstallLegacyTokens(dm_token, device_id); 454 const std::string& dm_token, 459 if (!dm_token.empty() && !device_id.empty()) { 462 policy_->set_request_token(dm_token); 409 OnLegacyLoadFinished( const std::string& dm_token, const std::string& device_id, Status status, scoped_ptr<em::PolicyFetchResponse> policy) argument 432 OnLegacyPolicyValidated( const std::string& dm_token, const std::string& device_id, UserCloudPolicyValidator* validator) argument 453 InstallLegacyTokens( const std::string& dm_token, const std::string& device_id) argument
|
/external/chromium_org/chrome/browser/ui/sync/ |
H A D | one_click_signin_sync_starter.cc | 168 const std::string& dm_token, const std::string& client_id) { 172 if (dm_token.empty()) { 178 DVLOG(1) << "Policy registration succeeded: dm_token=" << dm_token; 183 dm_token_ = dm_token; 167 OnRegisteredForPolicy( const std::string& dm_token, const std::string& client_id) argument
|