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

Unified Diff: components/sync/base/sync_prefs.h

Issue 2528163002: Rewire the local sync switches through the pref store. (Closed)
Patch Set: Comment new SyncPrefs methods. Created 4 years 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 | « components/sync/base/pref_names.cc ('k') | components/sync/base/sync_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/base/sync_prefs.h
diff --git a/components/sync/base/sync_prefs.h b/components/sync/base/sync_prefs.h
index c4eb25eda1b50b24612b1f74ba5a94517b1a4e99..94925b7fe3109a5c570615bbde32c07bc180abd8 100644
--- a/components/sync/base/sync_prefs.h
+++ b/components/sync/base/sync_prefs.h
@@ -180,6 +180,10 @@ class SyncPrefs : NON_EXPORTED_BASE(public base::NonThreadSafe),
void GetNigoriSpecificsForPassphraseTransition(
sync_pb::NigoriSpecifics* nigori_specifics) const;
+ // Gets the local sync backend enabled state and its database location.
+ bool IsLocalSyncEnabled() const;
+ base::FilePath GetLocalSyncBackendDir() const;
+
private:
void RegisterPrefGroups();
« no previous file with comments | « components/sync/base/pref_names.cc ('k') | components/sync/base/sync_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698