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

Unified Diff: chrome/browser/sync_file_system/local/local_file_change_tracker.h

Issue 145693005: [FileAPI] Replace default leveldb::Env with leveldb::MemEnv in tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 11 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/local/local_file_change_tracker.h
diff --git a/chrome/browser/sync_file_system/local/local_file_change_tracker.h b/chrome/browser/sync_file_system/local/local_file_change_tracker.h
index b3379e3e502aead118f24cd99ddbb121d81fbbe5..20e62cdcdcb94e995bc244c18691c6ce7192886d 100644
--- a/chrome/browser/sync_file_system/local/local_file_change_tracker.h
+++ b/chrome/browser/sync_file_system/local/local_file_change_tracker.h
@@ -29,6 +29,10 @@ class FileSystemContext;
class FileSystemURL;
}
+namespace leveldb {
+class Env;
+}
+
namespace sync_file_system {
// Tracks local file changes for cloud-backed file systems.
@@ -42,6 +46,7 @@ class LocalFileChangeTracker
// (So that we can make sure DB operations are done before actual update
// happens)
LocalFileChangeTracker(const base::FilePath& base_path,
+ leveldb::Env* env_override,
base::SequencedTaskRunner* file_task_runner);
virtual ~LocalFileChangeTracker();

Powered by Google App Engine
This is Rietveld 408576698