/external/chromium/chrome/browser/policy/ |
D | cloud_policy_controller.cc | 83 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 …]
|
D | browser_policy_connector.cc | 42 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()
|
D | cloud_policy_controller_unittest.cc | 99 &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
|
D | profile_policy_connector.cc | 53 identity_strategy_.reset(new UserPolicyIdentityStrategy( in ProfilePolicyConnector() 57 identity_strategy_.get(), in ProfilePolicyConnector() 76 identity_strategy_.reset(); in ~ProfilePolicyConnector()
|
D | user_policy_identity_strategy.cc | 50 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()
|
D | device_policy_cache.cc | 115 : identity_strategy_(identity_strategy), in DevicePolicyCache() 126 : identity_strategy_(identity_strategy), in DevicePolicyCache() 219 identity_strategy_->SetDeviceManagementCredentials( in OnRetrievePolicyCompleted()
|
D | browser_policy_connector.h | 91 scoped_ptr<DevicePolicyIdentityStrategy> identity_strategy_; variable
|
D | profile_policy_connector.h | 44 scoped_ptr<UserPolicyIdentityStrategy> identity_strategy_; variable
|
D | device_policy_cache.h | 69 DevicePolicyIdentityStrategy* identity_strategy_; variable
|
D | cloud_policy_controller.h | 135 CloudPolicyIdentityStrategy* identity_strategy_; variable
|
D | device_policy_cache_unittest.cc | 111 cache_.reset(new DevicePolicyCache(&identity_strategy_, in SetUp() 136 DevicePolicyIdentityStrategy identity_strategy_; member in policy::DevicePolicyCacheTest
|