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

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

Issue 552723002: [SyncFS] Test MetadataDatabaseTest using both on-memory and on-disk indexes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 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
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/drive_backend/metadata_database.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7ec06a064241a94dbe1c6f5cc9c1fddfb9707d53..d2f27d274835d511255d6210318a97d387ec7e2a 100644
--- a/chrome/browser/sync_file_system/drive_backend/metadata_database.h
+++ b/chrome/browser/sync_file_system/drive_backend/metadata_database.h
@@ -125,6 +125,11 @@ class MetadataDatabase {
const base::FilePath& database_path,
leveldb::Env* env_override,
SyncStatusCode* status);
+ static scoped_ptr<MetadataDatabase> CreateInternal(
+ const base::FilePath& database_path,
+ leveldb::Env* env_override,
+ bool enable_on_disk_index,
+ SyncStatusCode* status);
static SyncStatusCode CreateForTesting(
scoped_ptr<LevelDBWrapper> db,
bool enable_on_disk_index,
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/drive_backend/metadata_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698