Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(373)

Unified Diff: ios/chrome/browser/application_context_impl.h

Issue 1456783004: Remove configuration policy on iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clean up gyp and DEPS Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/browser/application_context.h ('k') | ios/chrome/browser/application_context_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/application_context_impl.h
diff --git a/ios/chrome/browser/application_context_impl.h b/ios/chrome/browser/application_context_impl.h
index e02aace532dd762be0697193db6c02339399014e..caea51727b5462881c046664a5ddd3cf4e909b06 100644
--- a/ios/chrome/browser/application_context_impl.h
+++ b/ios/chrome/browser/application_context_impl.h
@@ -43,8 +43,6 @@ class ApplicationContextImpl : public ApplicationContext {
ios::ChromeBrowserStateManager* GetChromeBrowserStateManager() override;
metrics::MetricsService* GetMetricsService() override;
variations::VariationsService* GetVariationsService() override;
- policy::BrowserPolicyConnector* GetBrowserPolicyConnector() override;
- policy::PolicyService* GetPolicyService() override;
rappor::RapporService* GetRapporService() override;
net_log::ChromeNetLog* GetNetLog() override;
network_time::NetworkTimeTracker* GetNetworkTimeTracker() override;
@@ -57,13 +55,6 @@ class ApplicationContextImpl : public ApplicationContext {
scoped_ptr<network_time::NetworkTimeTracker> network_time_tracker_;
std::string application_locale_;
-#if !defined(ENABLE_CONFIGURATION_POLICY)
- // Must be destroyed after |local_state_|.
- // This is a stub when policy is not enabled. Otherwise the PolicyService is
- // owned by the BrowserPolicyConnector and this is not used.
- scoped_ptr<policy::PolicyService> policy_service_;
-#endif
-
// Sequenced task runner for local state related I/O tasks.
const scoped_refptr<base::SequencedTaskRunner> local_state_task_runner_;
« no previous file with comments | « ios/chrome/browser/application_context.h ('k') | ios/chrome/browser/application_context_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698