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

Unified Diff: chrome/browser/policy/profile_policy_connector_factory.h

Issue 24153012: Fix cyclic dependency between ProfilePolicyConnector and PrefService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix some includes and nits. Created 7 years, 3 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/policy/profile_policy_connector_factory.h
diff --git a/chrome/browser/policy/profile_policy_connector_factory.h b/chrome/browser/policy/profile_policy_connector_factory.h
index a44fdeef03e698ff1970ff3ba5274e3f39f9fc52..a7584838f1fb59dd98b6a206ea235424c60dcc77 100644
--- a/chrome/browser/policy/profile_policy_connector_factory.h
+++ b/chrome/browser/policy/profile_policy_connector_factory.h
@@ -24,6 +24,7 @@ class BrowserContext;
namespace policy {
+class CloudPolicyManager;
class ProfilePolicyConnector;
// Creates ProfilePolicyConnectors for Profiles, which manage the common
@@ -47,6 +48,7 @@ class ProfilePolicyConnectorFactory : public BrowserContextKeyedBaseFactory {
static scoped_ptr<ProfilePolicyConnector> CreateForProfile(
Profile* profile,
bool force_immediate_load,
+ CloudPolicyManager* user_cloud_policy_manager,
base::SequencedTaskRunner* sequenced_task_runner);
// Overrides the |connector| for the given |profile|; use only in tests.
@@ -66,6 +68,7 @@ class ProfilePolicyConnectorFactory : public BrowserContextKeyedBaseFactory {
scoped_ptr<ProfilePolicyConnector> CreateForProfileInternal(
Profile* profile,
bool force_immediate_load,
+ CloudPolicyManager* user_cloud_policy_manager,
base::SequencedTaskRunner* sequenced_task_runner);
// BrowserContextKeyedBaseFactory:

Powered by Google App Engine
This is Rietveld 408576698