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..5f8df67a668a73a4f524ecc6b3a9fe9cee62c6dc 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,10 @@ SyncStatusCode GDataErrorCodeToSyncStatusCode( |
bool RemovePrefix(const std::string& str, const std::string& prefix, |
std::string* out); |
+scoped_ptr<ServiceMetadata> ReadServiceMetadata(leveldb::DB* db); |
+scoped_ptr<ServiceMetadata> InitializeServiceMetadata( |
+ leveldb::DB* db, leveldb::WriteBatch* batch); |
+ |
template <typename Src, typename Dest> |
void AppendContents(const Src& src, Dest* dest) { |
dest->insert(dest->end(), src.begin(), src.end()); |