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

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

Issue 2710623003: [sync] Clean up path generation for the local sync database. (Closed)
Patch Set: Fix non-windows bots. 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
« no previous file with comments | « components/sync/driver/fake_sync_client.cc ('k') | components/sync/driver/sync_service_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..77d8f33eefe7bfe7b5e00679fef9bcd8a82728a0 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 a local backend.
+ virtual base::FilePath GetLocalSyncBackendFolder() = 0;
+
// DataType specific service getters.
virtual bookmarks::BookmarkModel* GetBookmarkModel() = 0;
virtual favicon::FaviconService* GetFaviconService() = 0;
« no previous file with comments | « components/sync/driver/fake_sync_client.cc ('k') | components/sync/driver/sync_service_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698