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

Unified Diff: chrome/browser/profile.h

Issue 5174006: Move DeviceManagementPolicyProvider into the profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address feedback. 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 f2accbf6b62573f90b0626e821625822c746bd69..f76a2732680547930b7f74c59e9acd8f2fcb8242 100644
--- a/chrome/browser/profile.h
+++ b/chrome/browser/profile.h
@@ -30,6 +30,10 @@ class TransportSecurityState;
class SSLConfigService;
}
+namespace policy {
+class DeviceManagementPolicyProvider;
+}
+
namespace webkit_database {
class DatabaseTracker;
}
@@ -472,6 +476,10 @@ 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;
+
#if defined(OS_CHROMEOS)
// Returns ChromeOS's ProxyConfigServiceImpl, creating if not yet created.
virtual chromeos::ProxyConfigServiceImpl*

Powered by Google App Engine
This is Rietveld 408576698