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

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

Issue 71183002: Implement SyncEngine::DumpFiles() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Check has_synced_details Created 7 years, 1 month 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 bcb9b1aa425ab8e7c37e171f2ac05f27c594c158..0668b069a7752f39f550f8ec01d952d1e36d6812 100644
--- a/chrome/browser/sync_file_system/drive_backend/metadata_database.h
+++ b/chrome/browser/sync_file_system/drive_backend/metadata_database.h
@@ -14,6 +14,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/memory/scoped_vector.h"
#include "base/memory/weak_ptr.h"
+#include "base/values.h"
#include "chrome/browser/sync_file_system/drive_backend/tracker_set.h"
#include "chrome/browser/sync_file_system/sync_callbacks.h"
#include "chrome/browser/sync_file_system/sync_status_code.h"
@@ -126,6 +127,9 @@ class MetadataDatabase {
int64 GetSyncRootTrackerID() const;
bool HasSyncRoot() const;
+ // Returns all file metadata for the given |app_id|.
+ scoped_ptr<base::ListValue> DumpFiles(const std::string& app_id);
+
// Gets / updates the largest known change ID.
// The largest known change ID is on-memory and not persist over restart.
// This is supposed to use when a task fetches ChangeList in parallel to other

Powered by Google App Engine
This is Rietveld 408576698