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

Unified Diff: chrome/browser/prefs/pref_service_syncable_factory.h

Issue 1343743002: Remove dependency of PrefSyncableServiceFactory on //chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pref_service_syncable
Patch Set: Rebase Created 5 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/prefs/pref_service_syncable_factory.h
diff --git a/chrome/browser/prefs/pref_service_syncable_factory.h b/chrome/browser/prefs/pref_service_syncable_factory.h
index ff57059a5ecbb10293be25dadbf8c2f33ea47d9a..6855084aec8171833091ce8e4c92b478b22c78f1 100644
--- a/chrome/browser/prefs/pref_service_syncable_factory.h
+++ b/chrome/browser/prefs/pref_service_syncable_factory.h
@@ -14,6 +14,7 @@ class CommandLine;
}
namespace policy {
+class BrowserPolicyConnector;
class PolicyService;
}
@@ -30,13 +31,13 @@ class PrefServiceSyncableFactory : public base::PrefServiceFactory {
~PrefServiceSyncableFactory() override;
#if defined(ENABLE_CONFIGURATION_POLICY)
- // Set up policy pref stores using the given policy service.
- void SetManagedPolicies(policy::PolicyService* service);
- void SetRecommendedPolicies(policy::PolicyService* service);
+ // Set up policy pref stores using the given policy service and connector.
+ void SetManagedPolicies(policy::PolicyService* service,
+ policy::BrowserPolicyConnector* connector);
+ void SetRecommendedPolicies(policy::PolicyService* service,
+ policy::BrowserPolicyConnector* connector);
#endif
- // Specifies to use an actual command-line backed command-line pref store.
- void SetCommandLine(base::CommandLine* command_line);
scoped_ptr<PrefServiceSyncable> CreateSyncable(
user_prefs::PrefRegistrySyncable* registry);
« no previous file with comments | « chrome/browser/prefs/command_line_pref_store_proxy_unittest.cc ('k') | chrome/browser/prefs/pref_service_syncable_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698