Home
last modified time | relevance | path

Searched refs:dm_token_ (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/components/policy/core/common/cloud/
Dcloud_policy_client.cc84 dm_token_ = dm_token; in SetupRegistration()
154 request_job_->SetDMToken(dm_token_); in FetchPolicy()
236 request_job_->SetDMToken(dm_token_); in FetchRobotAuthCodes()
255 request_job_->SetDMToken(dm_token_); in Unregister()
269 request_job_->SetDMToken(dm_token_); in UploadCertificate()
338 dm_token_ = response.register_response().device_management_token(); in OnRegisterCompleted()
339 DVLOG(1) << "Client registration complete - DMToken = " << dm_token_; in OnRegisterCompleted()
436 dm_token_.clear(); in OnUnregisterCompleted()
Dcloud_policy_client.h183 bool is_registered() const { return !dm_token_.empty(); } in is_registered()
185 const std::string& dm_token() const { return dm_token_; } in dm_token()
273 std::string dm_token_; variable
Dcomponent_cloud_policy_store.cc114 DCHECK(dm_token_.empty() || dm_token == dm_token_); in SetCredentials()
116 dm_token_ = dm_token; in SetCredentials()
276 if (username_.empty() || dm_token_.empty()) in ValidateProto()
283 validator->ValidateDMToken(dm_token_, in ValidateProto()
Dmock_cloud_policy_client.cc25 dm_token_ = token; in SetDMToken()
Ddevice_management_service.cc316 if (!dm_token_.empty()) in ConfigureRequest()
317 extra_headers += kDMTokenAuthHeader + dm_token_ + "\n"; in ConfigureRequest()
372 dm_token_ = dm_token; in SetDMToken()
Dmock_cloud_policy_client.h47 using CloudPolicyClient::dm_token_;
Dcomponent_cloud_policy_store.h135 std::string dm_token_; variable
Ddevice_management_service.h90 std::string dm_token_; variable
Dmock_device_management_service.cc36 dm_token_, in Run()
/external/chromium_org/chrome/browser/android/signin/
Dsignin_manager_android.cc112 if (!dm_token_.empty()) { in FetchPolicyBeforeSignIn()
117 dm_token_, in FetchPolicyBeforeSignIn()
122 dm_token_.clear(); in FetchPolicyBeforeSignIn()
178 dm_token_ = dm_token; in OnPolicyRegisterDone()
183 if (!dm_token_.empty()) { in OnPolicyRegisterDone()
Dsignin_manager_android.h88 std::string dm_token_; variable
/external/chromium_org/chrome/browser/policy/cloud/
Duser_policy_signin_service_unittest.cc124 dm_token_ = dm_token; in OnRegisterCompleted()
302 EXPECT_EQ(dm_token_, expected_dm_token); in TestSuccessfulSignin()
314 dm_token_, in TestSuccessfulSignin()
363 std::string dm_token_; member in policy::__anon63dcd6bf0111::UserPolicySigninServiceTest
602 EXPECT_TRUE(dm_token_.empty()); in TEST_F()
631 EXPECT_TRUE(dm_token_.empty()); in TEST_F()
671 EXPECT_TRUE(dm_token_.empty()); in TEST_F()
710 EXPECT_EQ(dm_token_, expected_dm_token); in TEST_F()
/external/chromium_org/chrome/browser/ui/sync/
Done_click_signin_sync_starter.cc219 DCHECK(dm_token_.empty()); in OnRegisteredForPolicy()
221 dm_token_ = dm_token; in OnRegisteredForPolicy()
241 DCHECK(!dm_token_.empty()); in LoadPolicyWithCachedCredentials()
248 dm_token_, in LoadPolicyWithCachedCredentials()
267 DCHECK(!dm_token_.empty()); in CreateNewSignedInProfile()
307 DCHECK(!dm_token_.empty()); in CompleteInitForNewProfile()
Done_click_signin_sync_starter.h236 std::string dm_token_; variable
/external/chromium_org/chrome/browser/chromeos/policy/
Duser_cloud_policy_store_chromeos.cc98 std::string dm_token_; member in policy::LegacyPolicyCacheLoader
136 dm_token_ = token; in OnTokenLoaded()
158 callback_.Run(dm_token_, device_id_, status_, policy_.Pass()); in CheckLoadFinished()