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

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

Issue 2799043003: Revert of Pref service: add support for tracked prefs. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/prefs/chrome_pref_service_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/chrome_pref_service_factory.h
diff --git a/chrome/browser/prefs/chrome_pref_service_factory.h b/chrome/browser/prefs/chrome_pref_service_factory.h
index e2d53cf0611e712df8a86ba8d3e08663ed5b38ab..48c29eb6e88fc9ed042c9e320f57bb365df40a95 100644
--- a/chrome/browser/prefs/chrome_pref_service_factory.h
+++ b/chrome/browser/prefs/chrome_pref_service_factory.h
@@ -8,7 +8,6 @@
#include <memory>
#include "base/memory/ref_counted.h"
-#include "services/preferences/public/interfaces/tracked_preference_validation_delegate.mojom.h"
namespace base {
class DictionaryValue;
@@ -19,6 +18,12 @@
namespace policy {
class PolicyService;
+}
+
+namespace prefs {
+namespace mojom {
+class TrackedPreferenceValidationDelegate;
+}
}
namespace service_manager {
@@ -39,6 +44,7 @@
class PrefStore;
class Profile;
class SupervisedUserSettingsService;
+class TrackedPreferenceValidationDelegate;
namespace chrome_prefs {
@@ -76,7 +82,8 @@
std::unique_ptr<sync_preferences::PrefServiceSyncable> CreateProfilePrefs(
const base::FilePath& pref_filename,
- prefs::mojom::TrackedPreferenceValidationDelegatePtr validation_delegate,
+ base::SequencedTaskRunner* pref_io_task_runner,
+ prefs::mojom::TrackedPreferenceValidationDelegate* validation_delegate,
policy::PolicyService* policy_service,
SupervisedUserSettingsService* supervised_user_settings,
const scoped_refptr<PrefStore>& extension_prefs,
« no previous file with comments | « no previous file | chrome/browser/prefs/chrome_pref_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698