HomeSort by relevance Sort by last modified time
    Searched refs:dm_token (Results 1 - 25 of 26) sorted by null

1 2

  /external/chromium_org/chrome/browser/chromeos/policy/
user_cloud_policy_store_chromeos.h 86 const std::string& dm_token,
92 void OnLegacyPolicyValidated(const std::string& dm_token,
97 void InstallLegacyTokens(const std::string& dm_token,
user_cloud_policy_store_chromeos.cc 409 const std::string& dm_token,
424 dm_token,
427 InstallLegacyTokens(dm_token, device_id);
432 const std::string& dm_token,
449 InstallLegacyTokens(dm_token, device_id);
453 const std::string& dm_token,
458 if (!dm_token.empty() && !device_id.empty()) {
461 policy_->set_request_token(dm_token);
  /external/chromium_org/components/policy/core/common/cloud/
policy_header_service_unittest.cc 69 std::string dm_token; local
70 dict->GetString("user_dmtoken", &dm_token);
71 EXPECT_EQ(dm_token, expected_dmtoken);
mock_device_management_service.h 58 const std::string& dm_token,
cloud_policy_client.h 102 virtual void SetupRegistration(const std::string& dm_token,
175 const std::string& dm_token() const { return dm_token_; } function in class:policy::CloudPolicyClient
component_cloud_policy_store.h 67 // |username| and |dm_token| are used to validate the cached data, and data
71 const std::string& dm_token);
component_cloud_policy_service.cc 74 // |username| and |dm_token| will be used to validate the cached policies.
75 void SetCredentials(const std::string& username, const std::string& dm_token);
132 const std::string& dm_token) {
133 if (username.empty() || dm_token.empty()) {
137 store_.SetCredentials(username, dm_token);
device_management_service.h 59 void SetDMToken(const std::string& dm_token);
cloud_policy_client.cc 76 void CloudPolicyClient::SetupRegistration(const std::string& dm_token,
78 DCHECK(!dm_token.empty());
82 dm_token_ = dm_token;
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;
cloud_policy_client_unittest.cc 143 void ExpectPolicyFetch(const std::string& dm_token,
150 "", "", dm_token, user_affiliation,
155 void ExpectUnregistration(const std::string& dm_token) {
161 "", "", dm_token, "", client_id_,
cloud_policy_validator.h 134 void ValidateDMToken(const std::string& dm_token,
device_management_service.cc 361 void DeviceManagementRequestJob::SetDMToken(const std::string& dm_token) {
362 dm_token_ = dm_token;
  /external/chromium_org/chrome/browser/policy/cloud/
user_policy_signin_service_base.h 53 // |dm_token| and |client_id| parameters are empty if policy registration
55 typedef base::Callback<void(const std::string& dm_token,
71 // Initiates a policy fetch as part of user signin, using a |dm_token| and
76 const std::string& dm_token,
user_policy_signin_service.cc 101 callback.Run(client->dm_token(), client->client_id());
user_policy_signin_service_base.cc 47 const std::string& dm_token,
53 client->SetupRegistration(dm_token, client_id);
user_policy_signin_service_android.cc 88 callback.Run(client->dm_token(), client->client_id());
user_policy_signin_service_unittest.cc 106 void OnRegisterCompleted(const std::string& dm_token,
109 dm_token_ = dm_token;
274 std::string expected_dm_token = "dm_token";
682 std::string expected_dm_token = "dm_token";
  /external/chromium_org/chrome/browser/android/signin/
signin_manager_android.h 57 void OnPolicyRegisterDone(const std::string& dm_token,
signin_manager_android.cc 170 const std::string& dm_token,
172 dm_token_ = dm_token;
  /external/chromium_org/chrome/browser/policy/test/
local_policy_test_server.h 50 void RegisterClient(const std::string& dm_token,
local_policy_test_server.cc 101 void LocalPolicyTestServer::RegisterClient(const std::string& dm_token,
107 client_dict->SetString(kClientStateKeyDeviceToken, dm_token);
119 clients_.Set(dm_token, client_dict.release());
  /external/chromium_org/chrome/browser/ui/sync/
one_click_signin_sync_starter.cc 166 const std::string& dm_token, const std::string& client_id) {
170 if (dm_token.empty()) {
176 DVLOG(1) << "Policy registration succeeded: dm_token=" << dm_token;
181 dm_token_ = dm_token;
one_click_signin_sync_starter.h 133 // fails, |dm_token| and |client_id| will be empty.
134 void OnRegisteredForPolicy(const std::string& dm_token,
  /external/chromium_org/chrome/test/pyautolib/
policy_base.py 231 def _DMFetchPolicy(self, dm_token):
239 headers = {'Authorization': 'GoogleDMToken token=' + dm_token}
310 dm_token = self._DMRegisterDevice()
311 policy = self._DMFetchPolicy(dm_token)

Completed in 116 milliseconds

1 2