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

Unified Diff: chrome/browser/profiles/profile_io_data.cc

Issue 195873020: [Sync] Move SyncPrefs into sync_driver component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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_io_data.cc
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
index 94c8d6fb76f79cd353a156c7f58ba85e31f3e242..67e5fe69b95498d3ad686f64fda5e324230a8728 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -50,6 +50,7 @@
#include "chrome/common/pref_names.h"
#include "chrome/common/url_constants.h"
#include "components/startup_metric_utils/startup_metric_utils.h"
+#include "components/sync_driver/pref_names.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/host_zoom_map.h"
#include "content/public/browser/notification_service.h"
@@ -408,7 +409,7 @@ void ProfileIOData::InitializeOnUIThread(Profile* profile) {
prefs::kReverseAutologinRejectedEmailList, pref_service);
one_click_signin_rejected_email_list_.MoveToThread(io_message_loop_proxy);
- sync_disabled_.Init(prefs::kSyncManaged, pref_service);
+ sync_disabled_.Init(sync_driver::prefs::kSyncManaged, pref_service);
sync_disabled_.MoveToThread(io_message_loop_proxy);
signin_allowed_.Init(prefs::kSigninAllowed, pref_service);

Powered by Google App Engine
This is Rietveld 408576698