Home
last modified time | relevance | path

Searched refs:identity_strategy_ (Results 1 – 11 of 11) sorted by relevance

/external/chromium/chrome/browser/policy/
Dcloud_policy_controller.cc83 identity_strategy_->RemoveObserver(this); in ~CloudPolicyController()
159 identity_strategy_->OnDeviceTokenAvailable(token_fetcher_->GetDeviceToken()); in OnDeviceTokenAvailable()
163 if (identity_strategy_->GetDeviceToken().empty()) in OnDeviceTokenChanged()
211 identity_strategy_ = identity_strategy; in Initialize()
223 identity_strategy_->AddObserver(this); in Initialize()
224 if (!identity_strategy_->GetDeviceToken().empty()) in Initialize()
233 std::string device_id = identity_strategy_->GetDeviceID(); in FetchToken()
234 std::string machine_id = identity_strategy_->GetMachineID(); in FetchToken()
235 std::string machine_model = identity_strategy_->GetMachineModel(); in FetchToken()
237 identity_strategy_->GetPolicyRegisterType(); in FetchToken()
[all …]
Dbrowser_policy_connector.cc42 identity_strategy_.reset(new DevicePolicyIdentityStrategy()); in BrowserPolicyConnector()
46 identity_strategy_.get(), in BrowserPolicyConnector()
47 new DevicePolicyCache(identity_strategy_.get(), in BrowserPolicyConnector()
70 identity_strategy_.reset(); in ~BrowserPolicyConnector()
143 if (identity_strategy_.get()) in SetCredentials()
144 identity_strategy_->SetAuthCredentials(owner_email, gaia_token); in SetCredentials()
182 if (identity_strategy_.get()) in FetchPolicy()
183 return identity_strategy_->FetchPolicy(); in FetchPolicy()
Dcloud_policy_controller_unittest.cc99 &service_, cache_.get(), token_fetcher_.get(), &identity_strategy_, in CreateNewController()
108 &service_, cache_.get(), token_fetcher_.get(), &identity_strategy_, in CreateNewController()
134 EXPECT_CALL(identity_strategy_, GetDeviceToken()).WillRepeatedly( in SetupIdentityStrategy()
136 EXPECT_CALL(identity_strategy_, GetDeviceID()).WillRepeatedly( in SetupIdentityStrategy()
138 EXPECT_CALL(identity_strategy_, GetMachineID()).WillRepeatedly( in SetupIdentityStrategy()
140 EXPECT_CALL(identity_strategy_, GetMachineModel()).WillRepeatedly( in SetupIdentityStrategy()
142 EXPECT_CALL(identity_strategy_, GetPolicyType()).WillRepeatedly( in SetupIdentityStrategy()
144 EXPECT_CALL(identity_strategy_, GetPolicyRegisterType()).WillRepeatedly( in SetupIdentityStrategy()
147 EXPECT_CALL(identity_strategy_, GetCredentials(_, _)).WillRepeatedly( in SetupIdentityStrategy()
156 MockCloudPolicyIdentityStrategy identity_strategy_; member in policy::CloudPolicyControllerTest
Dprofile_policy_connector.cc53 identity_strategy_.reset(new UserPolicyIdentityStrategy( in ProfilePolicyConnector()
57 identity_strategy_.get(), in ProfilePolicyConnector()
76 identity_strategy_.reset(); in ~ProfilePolicyConnector()
Duser_policy_identity_strategy.cc50 const base::WeakPtr<UserPolicyIdentityStrategy> identity_strategy_; member in policy::UserPolicyIdentityStrategy::TokenCache
59 : identity_strategy_(identity_strategy), in TokenCache()
111 if (identity_strategy_.get()) in NotifyOnUIThread()
112 identity_strategy_->OnCacheLoaded(token, device_id); in NotifyOnUIThread()
Ddevice_policy_cache.cc115 : identity_strategy_(identity_strategy), in DevicePolicyCache()
126 : identity_strategy_(identity_strategy), in DevicePolicyCache()
219 identity_strategy_->SetDeviceManagementCredentials( in OnRetrievePolicyCompleted()
Dbrowser_policy_connector.h91 scoped_ptr<DevicePolicyIdentityStrategy> identity_strategy_; variable
Dprofile_policy_connector.h44 scoped_ptr<UserPolicyIdentityStrategy> identity_strategy_; variable
Ddevice_policy_cache.h69 DevicePolicyIdentityStrategy* identity_strategy_; variable
Dcloud_policy_controller.h135 CloudPolicyIdentityStrategy* identity_strategy_; variable
Ddevice_policy_cache_unittest.cc111 cache_.reset(new DevicePolicyCache(&identity_strategy_, in SetUp()
136 DevicePolicyIdentityStrategy identity_strategy_; member in policy::DevicePolicyCacheTest