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

Unified Diff: chrome/browser/profiles/profile.h

Issue 10693022: Add support for loading user cloud policy on desktop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tweaked some comments after self-review. Created 8 years, 5 months 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/profiles/profile.h
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h
index 37dd180c3ad3378f9e76099fe91b0a32b81c15e2..3912edaf3604c3c18079f37ac91c2c2a1bf9837e 100644
--- a/chrome/browser/profiles/profile.h
+++ b/chrome/browser/profiles/profile.h
@@ -65,8 +65,8 @@ class FileSystemContext;
}
namespace history {
-class TopSites;
class ShortcutsBackend;
+class TopSites;
}
namespace net {
@@ -75,6 +75,7 @@ class SSLConfigService;
namespace policy {
class PolicyService;
+class UserCloudPolicyManager;
}
class Profile : public content::BrowserContext {
@@ -249,6 +250,10 @@ class Profile : public content::BrowserContext {
// doesn't already exist.
virtual HistoryService* GetHistoryServiceWithoutCreating() = 0;
+ // Returns the UserCloudPolicyManager (if any) that handles this profile's
+ // connection to the cloud-based management service.
+ virtual policy::UserCloudPolicyManager* GetUserCloudPolicyManager() = 0;
+
// Returns the PolicyService that provides policies for this profile.
virtual policy::PolicyService* GetPolicyService() = 0;

Powered by Google App Engine
This is Rietveld 408576698