policy_service_ 509 chrome/browser/browser_process_impl.cc if (!policy_service_.get()) policy_service_ 510 chrome/browser/browser_process_impl.cc policy_service_.reset(new policy::PolicyServiceStub()); policy_service_ 511 chrome/browser/browser_process_impl.cc return policy_service_.get(); policy_service_ 177 chrome/browser/browser_process_impl.h scoped_ptr<policy::PolicyService> policy_service_; policy_service_ 53 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.cc PolicyService* policy_service_; policy_service_ 65 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.cc policy_service_->AddObserver(POLICY_DOMAIN_CHROME, this); policy_service_ 72 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.cc const PolicyMap::Entry* entry = policy_service_->GetPolicies( policy_service_ 82 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.cc policy_service_->RemoveObserver(POLICY_DOMAIN_CHROME, this); policy_service_ 18 chrome/browser/chromeos/policy/network_configuration_updater.cc policy_service_->RemoveObserver(POLICY_DOMAIN_CHROME, this); policy_service_ 32 chrome/browser/chromeos/policy/network_configuration_updater.cc if (policy_service_->IsInitializationComplete(POLICY_DOMAIN_CHROME)) { policy_service_ 34 chrome/browser/chromeos/policy/network_configuration_updater.cc policy_service_->RemoveObserver(POLICY_DOMAIN_CHROME, this); policy_service_ 59 chrome/browser/chromeos/policy/network_configuration_updater.cc if (policy_service_->IsInitializationComplete(POLICY_DOMAIN_CHROME)) { policy_service_ 63 chrome/browser/chromeos/policy/network_configuration_updater.cc policy_service_->AddObserver(POLICY_DOMAIN_CHROME, this); policy_service_ 75 chrome/browser/chromeos/policy/network_configuration_updater.cc const PolicyMap& policies = policy_service_->GetPolicies( policy_service_ 85 chrome/browser/chromeos/policy/network_configuration_updater.h PolicyService* policy_service_; policy_service_ 156 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc policy_service_.reset(new PolicyServiceImpl(providers)); policy_service_ 210 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc policy_service_.get(), policy_service_ 224 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc policy_service_.get(), policy_service_ 249 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc scoped_ptr<PolicyServiceImpl> policy_service_; policy_service_ 50 chrome/browser/download/download_dir_policy_handler_unittest.cc policy_service_.get(), policy_service_ 242 chrome/browser/extensions/api/storage/managed_value_store_cache.cc policy_service_(policy::ProfilePolicyConnectorFactory::GetForProfile( policy_service_ 250 chrome/browser/extensions/api/storage/managed_value_store_cache.cc policy_service_->AddObserver(policy::POLICY_DOMAIN_EXTENSIONS, this); policy_service_ 254 chrome/browser/extensions/api/storage/managed_value_store_cache.cc if (policy_service_->IsInitializationComplete( policy_service_ 268 chrome/browser/extensions/api/storage/managed_value_store_cache.cc policy_service_->RemoveObserver(policy::POLICY_DOMAIN_EXTENSIONS, this); policy_service_ 314 chrome/browser/extensions/api/storage/managed_value_store_cache.cc OnPolicyUpdated(ns, empty_map, policy_service_->GetPolicies(ns)); policy_service_ 323 chrome/browser/extensions/api/storage/managed_value_store_cache.cc if (!policy_service_->IsInitializationComplete( policy_service_ 87 chrome/browser/extensions/api/storage/managed_value_store_cache.h policy::PolicyService* policy_service_; policy_service_ 33 chrome/browser/net/proxy_policy_handler_unittest.cc policy_service_.reset(new PolicyServiceImpl(providers_)); policy_service_ 35 chrome/browser/net/proxy_policy_handler_unittest.cc policy_service_.get(), &handler_list_, POLICY_LEVEL_MANDATORY); policy_service_ 105 chrome/browser/policy/profile_policy_connector.cc policy_service_.reset(new PolicyServiceImpl(providers)); policy_service_ 118 chrome/browser/policy/profile_policy_connector.cc policy_service_ = service.Pass(); policy_service_ 46 chrome/browser/policy/profile_policy_connector.h PolicyService* policy_service() const { return policy_service_.get(); } policy_service_ 72 chrome/browser/policy/profile_policy_connector.h scoped_ptr<PolicyService> policy_service_; policy_service_ 19 chrome/browser/policy/profile_policy_connector_stub.cc policy_service_.reset(new PolicyServiceStub()); policy_service_ 23 chrome/browser/policy/profile_policy_connector_stub.cc policy_service_ = service.Pass(); policy_service_ 93 chrome/browser/prefs/proxy_policy_unittest.cc policy_service_.reset(new PolicyServiceImpl(providers)); policy_service_ 105 chrome/browser/prefs/proxy_policy_unittest.cc factory.SetManagedPolicies(policy_service_.get()); policy_service_ 117 chrome/browser/prefs/proxy_policy_unittest.cc scoped_ptr<PolicyServiceImpl> policy_service_; policy_service_ 163 chrome/test/base/testing_browser_process.cc if (!policy_service_) policy_service_ 164 chrome/test/base/testing_browser_process.cc policy_service_.reset(new policy::PolicyServiceStub()); policy_service_ 165 chrome/test/base/testing_browser_process.cc return policy_service_.get(); policy_service_ 146 chrome/test/base/testing_browser_process.h scoped_ptr<policy::PolicyService> policy_service_; policy_service_ 667 chrome/test/base/testing_profile.cc if (!policy_service_) { policy_service_ 670 chrome/test/base/testing_profile.cc policy_service_.reset(new policy::PolicyServiceImpl(providers)); policy_service_ 672 chrome/test/base/testing_profile.cc policy_service_.reset(new policy::PolicyServiceStub()); policy_service_ 676 chrome/test/base/testing_profile.cc profile_policy_connector_->InitForTesting(policy_service_.Pass()); policy_service_ 944 chrome/test/base/testing_profile.cc policy_service_ = policy_service.Pass(); policy_service_ 965 chrome/test/base/testing_profile.cc policy_service_.Pass(), policy_service_ 130 chrome/test/base/testing_profile.h scoped_ptr<policy::PolicyService> policy_service_; policy_service_ 434 chrome/test/base/testing_profile.h scoped_ptr<policy::PolicyService> policy_service_; policy_service_ 123 components/policy/core/browser/browser_policy_connector.cc if (!policy_service_) { policy_service_ 134 components/policy/core/browser/browser_policy_connector.cc policy_service_.reset(new PolicyServiceImpl(providers)); policy_service_ 136 components/policy/core/browser/browser_policy_connector.cc return policy_service_.get(); policy_service_ 145 components/policy/core/browser/browser_policy_connector.h scoped_ptr<PolicyService> policy_service_; policy_service_ 40 components/policy/core/browser/configuration_policy_pref_store.cc : policy_service_(service), policy_service_ 45 components/policy/core/browser/configuration_policy_pref_store.cc policy_service_->AddObserver(POLICY_DOMAIN_CHROME, this); policy_service_ 62 components/policy/core/browser/configuration_policy_pref_store.cc return policy_service_->IsInitializationComplete(POLICY_DOMAIN_CHROME); policy_service_ 94 components/policy/core/browser/configuration_policy_pref_store.cc policy_service_->RemoveObserver(POLICY_DOMAIN_CHROME, this); policy_service_ 115 components/policy/core/browser/configuration_policy_pref_store.cc filtered_policies.CopyFrom(policy_service_->GetPolicies( policy_service_ 66 components/policy/core/browser/configuration_policy_pref_store.h PolicyService* policy_service_; policy_service_ 33 components/policy/core/browser/configuration_policy_pref_store_test.cc policy_service_.reset(new PolicyServiceImpl(providers_)); policy_service_ 35 components/policy/core/browser/configuration_policy_pref_store_test.cc policy_service_.get(), &handler_list_, POLICY_LEVEL_MANDATORY); policy_service_ 39 components/policy/core/browser/configuration_policy_pref_store_test.h scoped_ptr<PolicyService> policy_service_; policy_service_ 13 components/policy/core/common/policy_service.cc : policy_service_(policy_service), policy_service_ 18 components/policy/core/common/policy_service.cc policy_service_->RemoveObserver(ns_.domain, this); policy_service_ 24 components/policy/core/common/policy_service.cc policy_service_->AddObserver(ns_.domain, this); policy_service_ 107 components/policy/core/common/policy_service.h PolicyService* policy_service_; policy_service_ 115 components/policy/core/common/policy_service_impl_unittest.cc policy_service_.reset(new PolicyServiceImpl(providers)); policy_service_ 132 components/policy/core/common/policy_service_impl_unittest.cc return policy_service_->GetPolicies(ns).Equals(expected); policy_service_ 148 components/policy/core/common/policy_service_impl_unittest.cc scoped_ptr<PolicyServiceImpl> policy_service_; policy_service_ 164 components/policy/core/common/policy_service_impl_unittest.cc policy_service_->AddObserver(POLICY_DOMAIN_CHROME, &observer); policy_service_ 235 components/policy/core/common/policy_service_impl_unittest.cc policy_service_->RemoveObserver(POLICY_DOMAIN_CHROME, &observer); policy_service_ 244 components/policy/core/common/policy_service_impl_unittest.cc policy_service_->AddObserver(POLICY_DOMAIN_CHROME, &chrome_observer); policy_service_ 245 components/policy/core/common/policy_service_impl_unittest.cc policy_service_->AddObserver(POLICY_DOMAIN_EXTENSIONS, &extension_observer); policy_service_ 319 components/policy/core/common/policy_service_impl_unittest.cc policy_service_->RemoveObserver(POLICY_DOMAIN_CHROME, &chrome_observer); policy_service_ 320 components/policy/core/common/policy_service_impl_unittest.cc policy_service_->RemoveObserver(POLICY_DOMAIN_EXTENSIONS, policy_service_ 326 components/policy/core/common/policy_service_impl_unittest.cc policy_service_->AddObserver(POLICY_DOMAIN_CHROME, &observer); policy_service_ 333 components/policy/core/common/policy_service_impl_unittest.cc policy_service_->RemoveObserver(POLICY_DOMAIN_CHROME, &observer); policy_service_ 373 components/policy/core/common/policy_service_impl_unittest.cc policy_service_.get(), policy_service_ 434 components/policy/core/common/policy_service_impl_unittest.cc policy_service_->RefreshPolicies(base::Bind( policy_service_ 467 components/policy/core/common/policy_service_impl_unittest.cc policy_service_->RefreshPolicies(base::Bind( policy_service_ 488 components/policy/core/common/policy_service_impl_unittest.cc const PolicyMap& policies = policy_service_->GetPolicies( policy_service_ 520 components/policy/core/common/policy_service_impl_unittest.cc EXPECT_TRUE(policy_service_->GetPolicies( policy_service_ 522 components/policy/core/common/policy_service_impl_unittest.cc EXPECT_TRUE(policy_service_->GetPolicies( policy_service_ 538 components/policy/core/common/policy_service_impl_unittest.cc policy_service_.reset(new PolicyServiceImpl(providers)); policy_service_ 539 components/policy/core/common/policy_service_impl_unittest.cc EXPECT_FALSE(policy_service_->IsInitializationComplete(POLICY_DOMAIN_CHROME)); policy_service_ 541 components/policy/core/common/policy_service_impl_unittest.cc policy_service_->IsInitializationComplete(POLICY_DOMAIN_EXTENSIONS)); policy_service_ 546 components/policy/core/common/policy_service_impl_unittest.cc policy_service_->AddObserver(POLICY_DOMAIN_CHROME, &observer); policy_service_ 547 components/policy/core/common/policy_service_impl_unittest.cc policy_service_->AddObserver(POLICY_DOMAIN_EXTENSIONS, &observer); policy_service_ 557 components/policy/core/common/policy_service_impl_unittest.cc EXPECT_FALSE(policy_service_->IsInitializationComplete(POLICY_DOMAIN_CHROME)); policy_service_ 559 components/policy/core/common/policy_service_impl_unittest.cc policy_service_->IsInitializationComplete(POLICY_DOMAIN_EXTENSIONS)); policy_service_ 570 components/policy/core/common/policy_service_impl_unittest.cc EXPECT_FALSE(policy_service_->IsInitializationComplete(POLICY_DOMAIN_CHROME)); policy_service_ 572 components/policy/core/common/policy_service_impl_unittest.cc policy_service_->IsInitializationComplete(POLICY_DOMAIN_EXTENSIONS)); policy_service_ 583 components/policy/core/common/policy_service_impl_unittest.cc EXPECT_TRUE(policy_service_->IsInitializationComplete(POLICY_DOMAIN_CHROME)); policy_service_ 586 components/policy/core/common/policy_service_impl_unittest.cc policy_service_->IsInitializationComplete(POLICY_DOMAIN_EXTENSIONS)); policy_service_ 597 components/policy/core/common/policy_service_impl_unittest.cc EXPECT_TRUE(policy_service_->IsInitializationComplete(POLICY_DOMAIN_CHROME)); policy_service_ 599 components/policy/core/common/policy_service_impl_unittest.cc policy_service_->IsInitializationComplete(POLICY_DOMAIN_EXTENSIONS)); policy_service_ 602 components/policy/core/common/policy_service_impl_unittest.cc policy_service_->RemoveObserver(POLICY_DOMAIN_CHROME, &observer); policy_service_ 603 components/policy/core/common/policy_service_impl_unittest.cc policy_service_->RemoveObserver(POLICY_DOMAIN_EXTENSIONS, &observer); policy_service_ 34 components/policy/core/common/policy_statistics_collector.cc policy_service_(policy_service), policy_service_ 66 components/policy/core/common/policy_statistics_collector.cc const PolicyMap& policies = policy_service_->GetPolicies( policy_service_ 57 components/policy/core/common/policy_statistics_collector.h PolicyService* policy_service_; policy_service_ 92 components/policy/core/common/policy_statistics_collector_unittest.cc EXPECT_CALL(policy_service_, policy_service_ 103 components/policy/core/common/policy_statistics_collector_unittest.cc &policy_service_, policy_service_ 128 components/policy/core/common/policy_statistics_collector_unittest.cc MockPolicyService policy_service_;