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

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

Issue 388913005: [SyncFS] Migrate ServiceMetadata from MDDB to MDDBIndex. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Work for nits Created 6 years, 5 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/drive_backend_util.h
diff --git a/chrome/browser/sync_file_system/drive_backend/drive_backend_util.h b/chrome/browser/sync_file_system/drive_backend/drive_backend_util.h
index d5e662576b61c7ded09e8aca8b79d6fa26e89116..139f6fdd2e43f97c4876a07c54d67224fbeb1ea9 100644
--- a/chrome/browser/sync_file_system/drive_backend/drive_backend_util.h
+++ b/chrome/browser/sync_file_system/drive_backend/drive_backend_util.h
@@ -23,6 +23,7 @@ class ResourceEntry;
}
namespace leveldb {
+class DB;
class WriteBatch;
}
@@ -55,6 +56,8 @@ SyncStatusCode GDataErrorCodeToSyncStatusCode(
bool RemovePrefix(const std::string& str, const std::string& prefix,
std::string* out);
+scoped_ptr<ServiceMetadata> InitializeServiceMetadata(leveldb::DB* db);
+
template <typename Src, typename Dest>
void AppendContents(const Src& src, Dest* dest) {
dest->insert(dest->end(), src.begin(), src.end());

Powered by Google App Engine
This is Rietveld 408576698