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

Unified Diff: chrome/browser/sync_file_system/drive_backend/metadata_database.h

Issue 23582013: [SyncFS] Add MetadataDatabase::PopulateInitialData (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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/sync_file_system/drive_backend/metadata_database.h
diff --git a/chrome/browser/sync_file_system/drive_backend/metadata_database.h b/chrome/browser/sync_file_system/drive_backend/metadata_database.h
index e57d583e3ab811902cda55ed638f6e9d7aa8cdbf..d223e51f687bd0d0fc3f38575fd4ee5b97f81724 100644
--- a/chrome/browser/sync_file_system/drive_backend/metadata_database.h
+++ b/chrome/browser/sync_file_system/drive_backend/metadata_database.h
@@ -124,6 +124,14 @@ class MetadataDatabase {
int64 GetLargestChangeID() const;
+ bool HasSyncRoot() const;
+
+ void PopulateInitialData(
+ int64 largest_change_id,
+ const google_apis::FileResource& sync_root_folder,
+ const ScopedVector<google_apis::FileResource>& app_root_folders,
+ const SyncStatusCallback& callback);
+
// Registers existing folder as the app-root for |app_id|. The folder
// must be an inactive folder that does not yet associated to any App.
// This method associates the folder with |app_id| and activates it.

Powered by Google App Engine
This is Rietveld 408576698