Home
last modified time | relevance | path

Searched refs:dm_token (Results 1 – 25 of 25) sorted by relevance

/external/chromium_org/chrome/browser/chromeos/policy/
Duser_cloud_policy_store_chromeos.h86 const std::string& dm_token,
92 void OnLegacyPolicyValidated(const std::string& dm_token,
97 void InstallLegacyTokens(const std::string& dm_token,
Duser_cloud_policy_store_chromeos.cc410 const std::string& dm_token, in OnLegacyLoadFinished() argument
425 dm_token, in OnLegacyLoadFinished()
428 InstallLegacyTokens(dm_token, device_id); in OnLegacyLoadFinished()
433 const std::string& dm_token, in OnLegacyPolicyValidated() argument
450 InstallLegacyTokens(dm_token, device_id); in OnLegacyPolicyValidated()
454 const std::string& dm_token, in InstallLegacyTokens() argument
459 if (!dm_token.empty() && !device_id.empty()) { in InstallLegacyTokens()
462 policy_->set_request_token(dm_token); in InstallLegacyTokens()
Denrollment_handler_chromeos.cc125 validator->ValidateDMToken(client->dm_token(), in OnPolicyFetched()
/external/chromium_org/components/policy/core/common/cloud/
Dpolicy_header_service_unittest.cc73 std::string dm_token; in ValidateHeader() local
74 dict->GetString("user_dmtoken", &dm_token); in ValidateHeader()
75 EXPECT_EQ(dm_token, expected_dmtoken); in ValidateHeader()
Dcomponent_cloud_policy_service.cc68 void SetCredentials(const std::string& username, const std::string& dm_token);
126 const std::string& dm_token) { in SetCredentials() argument
127 if (username.empty() || dm_token.empty()) { in SetCredentials()
131 store_.SetCredentials(username, dm_token); in SetCredentials()
Dcloud_policy_client.h106 virtual void SetupRegistration(const std::string& dm_token,
185 const std::string& dm_token() const { return dm_token_; } in dm_token() function
Dcomponent_cloud_policy_store.cc111 const std::string& dm_token) { in SetCredentials() argument
114 DCHECK(dm_token_.empty() || dm_token == dm_token_); in SetCredentials()
116 dm_token_ = dm_token; in SetCredentials()
Dmock_device_management_service.h58 const std::string& dm_token,
Dcloud_policy_client.cc78 void CloudPolicyClient::SetupRegistration(const std::string& dm_token, in SetupRegistration() argument
80 DCHECK(!dm_token.empty()); in SetupRegistration()
84 dm_token_ = dm_token; in SetupRegistration()
Dcomponent_cloud_policy_store.h71 const std::string& dm_token);
Dcloud_policy_client_unittest.cc142 void ExpectPolicyFetch(const std::string& dm_token, in ExpectPolicyFetch() argument
149 "", "", dm_token, user_affiliation, in ExpectPolicyFetch()
154 void ExpectUnregistration(const std::string& dm_token) { in ExpectUnregistration() argument
160 "", "", dm_token, "", client_id_, in ExpectUnregistration()
Ddevice_management_service.h60 void SetDMToken(const std::string& dm_token);
Ddevice_management_service.cc367 void DeviceManagementRequestJob::SetDMToken(const std::string& dm_token) { in SetDMToken() argument
368 dm_token_ = dm_token; in SetDMToken()
Dcloud_policy_validator.h140 void ValidateDMToken(const std::string& dm_token,
/external/chromium_org/chrome/browser/policy/cloud/
Duser_policy_signin_service_base.h56 typedef base::Callback<void(const std::string& dm_token,
80 const std::string& dm_token,
Duser_policy_signin_service_base.cc49 const std::string& dm_token, in FetchPolicyForSignedInUser() argument
57 client->SetupRegistration(dm_token, client_id); in FetchPolicyForSignedInUser()
Duser_policy_signin_service.cc105 callback.Run(client->dm_token(), client->client_id()); in CallPolicyRegistrationCallback()
Duser_policy_signin_service_mobile.cc138 callback.Run(client->dm_token(), client->client_id()); in CallPolicyRegistrationCallback()
Duser_policy_signin_service_unittest.cc121 void OnRegisterCompleted(const std::string& dm_token, in OnRegisterCompleted() argument
124 dm_token_ = dm_token; in OnRegisterCompleted()
/external/chromium_org/chrome/browser/policy/test/
Dlocal_policy_test_server.cc118 void LocalPolicyTestServer::RegisterClient(const std::string& dm_token, in RegisterClient() argument
124 client_dict->SetString(kClientStateKeyDeviceToken, dm_token); in RegisterClient()
136 clients_.Set(dm_token, client_dict.release()); in RegisterClient()
Dlocal_policy_test_server.h51 void RegisterClient(const std::string& dm_token,
/external/chromium_org/chrome/browser/ui/sync/
Done_click_signin_sync_starter.cc168 const std::string& dm_token, const std::string& client_id) { in OnRegisteredForPolicy() argument
172 if (dm_token.empty()) { in OnRegisteredForPolicy()
178 DVLOG(1) << "Policy registration succeeded: dm_token=" << dm_token; in OnRegisteredForPolicy()
183 dm_token_ = dm_token; in OnRegisteredForPolicy()
Done_click_signin_sync_starter.h143 void OnRegisteredForPolicy(const std::string& dm_token,
/external/chromium_org/chrome/browser/android/signin/
Dsignin_manager_android.cc171 const std::string& dm_token, in OnPolicyRegisterDone() argument
173 dm_token_ = dm_token; in OnPolicyRegisterDone()
Dsignin_manager_android.h61 void OnPolicyRegisterDone(const std::string& dm_token,