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

Unified Diff: chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h

Issue 19733003: Implement cloud policy invalidations using the invalidation service framework. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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/chromeos/policy/user_cloud_policy_manager_chromeos.h
diff --git a/chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h b/chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h
index 1b91202c50a0cdf96c8b97f5445fd81df2289ceb..25c1133e7908bb28a18f5dd3e4a4c876da9aa37e 100644
--- a/chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h
+++ b/chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h
@@ -20,6 +20,7 @@
#include "google_apis/gaia/gaia_auth_consumer.h"
class PrefService;
+class Profile;
namespace net {
class URLRequestContextGetter;
@@ -43,6 +44,7 @@ class UserCloudPolicyManagerChromeOS
// If |wait_for_policy_fetch| is true, IsInitializationComplete() will return
// false as long as there hasn't been a successful policy fetch.
UserCloudPolicyManagerChromeOS(
+ Profile* profile,
scoped_ptr<CloudPolicyStore> store,
scoped_ptr<ResourceCache> resource_cache,
bool wait_for_policy_fetch);
@@ -109,6 +111,9 @@ class UserCloudPolicyManagerChromeOS
void StartRefreshScheduler();
+ // The profile this instance belongs to.
+ Profile* profile_;
+
// Owns the store, note that CloudPolicyManager just keeps a plain pointer.
scoped_ptr<CloudPolicyStore> store_;

Powered by Google App Engine
This is Rietveld 408576698