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

Unified Diff: components/sync/driver/sync_client.h

Issue 2710623003: [sync] Clean up path generation for the local sync database. (Closed)
Patch Set: Shuffle code around. Created 3 years, 10 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: components/sync/driver/sync_client.h
diff --git a/components/sync/driver/sync_client.h b/components/sync/driver/sync_client.h
index bf9ab4cec3fb760ff290d1161779e27b51de0cde..2ef19de1262981864361d41d7b153ff07c9d6841 100644
--- a/components/sync/driver/sync_client.h
+++ b/components/sync/driver/sync_client.h
@@ -67,6 +67,10 @@ class SyncClient {
// Returns the current profile's preference service.
virtual PrefService* GetPrefService() = 0;
+ // Returns the path to the folder used for storing the local sync database.
+ // It is only used when sync is running against its local backend.
Nicolas Zea 2017/02/27 19:21:26 nit: "its local backend" -> "a local backend"
pastarmovj 2017/02/28 17:22:33 Done.
+ virtual base::FilePath GetLocalSyncBackendFolder() = 0;
+
// DataType specific service getters.
virtual bookmarks::BookmarkModel* GetBookmarkModel() = 0;
virtual favicon::FaviconService* GetFaviconService() = 0;

Powered by Google App Engine
This is Rietveld 408576698