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

Unified Diff: chrome/browser/profile_impl.h

Issue 5153002: Use a service to create device management backends. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 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
Index: chrome/browser/profile_impl.h
diff --git a/chrome/browser/profile_impl.h b/chrome/browser/profile_impl.h
index b5fd6f8f16ee3ff8b6129cbb19d38669810e58f2..ceb357a5ba0516d70151d20d7be82f63c7539d0d 100644
--- a/chrome/browser/profile_impl.h
+++ b/chrome/browser/profile_impl.h
@@ -124,6 +124,7 @@ class ProfileImpl : public Profile,
virtual ExtensionInfoMap* GetExtensionInfoMap();
virtual PromoCounter* GetInstantPromoCounter();
virtual BrowserSignin* GetBrowserSignin();
+ virtual policy::DeviceManagementService* GetDeviceManagementService();
virtual policy::DeviceManagementPolicyProvider*
GetDeviceManagementPolicyProvider();
@@ -180,6 +181,8 @@ class ProfileImpl : public Profile,
transport_security_state_;
scoped_refptr<TransportSecurityPersister>
transport_security_persister_;
+ scoped_ptr<policy::DeviceManagementPolicyProvider>
+ device_management_policy_provider_;
scoped_ptr<PrefService> prefs_;
scoped_ptr<NetPrefObserver> net_pref_observer_;
scoped_ptr<TemplateURLFetcher> template_url_fetcher_;
@@ -273,8 +276,7 @@ class ProfileImpl : public Profile,
scoped_refptr<ExtensionInfoMap> extension_info_map_;
- scoped_ptr<policy::DeviceManagementPolicyProvider>
- device_management_policy_provider_;
+ scoped_ptr<policy::DeviceManagementService> device_management_service_;
#if defined(OS_CHROMEOS)
scoped_ptr<chromeos::Preferences> chromeos_preferences_;

Powered by Google App Engine
This is Rietveld 408576698