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

Unified Diff: chrome/browser/profile.h

Issue 5153002: Use a service to create device management backends. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments. 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.h
diff --git a/chrome/browser/profile.h b/chrome/browser/profile.h
index f76a2732680547930b7f74c59e9acd8f2fcb8242..ac70b74fd050c4fa53ae2aba834d7740763376b5 100644
--- a/chrome/browser/profile.h
+++ b/chrome/browser/profile.h
@@ -31,7 +31,7 @@ class SSLConfigService;
}
namespace policy {
-class DeviceManagementPolicyProvider;
+class ProfilePolicyContext;
}
namespace webkit_database {
@@ -476,9 +476,8 @@ class Profile {
// Returns the PromoCounter for Instant, or NULL if not applicable.
virtual PromoCounter* GetInstantPromoCounter() = 0;
- // Get the device management policy provider for this profile.
- virtual policy::DeviceManagementPolicyProvider*
- GetDeviceManagementPolicyProvider() = 0;
+ // Gets the device management service associated with this profile.
+ virtual policy::ProfilePolicyContext* GetPolicyContext() = 0;
#if defined(OS_CHROMEOS)
// Returns ChromeOS's ProxyConfigServiceImpl, creating if not yet created.

Powered by Google App Engine
This is Rietveld 408576698