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

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

Issue 394033005: [SyncFS] Make the snapshot sync of local-to-remote sync parallelization enabled. (2/3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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/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 34fd457fbd387194e9fbab899f2e2192249a4bbe..5a5ccc19fda6747fd088df229d75a01ca73fe9d7 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
@@ -31,6 +31,7 @@ class FileSystemURL;
namespace leveldb {
class Env;
+class WriteBatch;
}
namespace sync_file_system {
@@ -164,6 +165,10 @@ class LocalFileChangeTracker
FileChangeMap* changes,
ChangeSeqMap* change_seqs);
+ void ResetForURL(const fileapi::FileSystemURL& url,
+ int change_seq,
+ leveldb::WriteBatch* batch);
+
bool initialized_;
scoped_refptr<base::SequencedTaskRunner> file_task_runner_;

Powered by Google App Engine
This is Rietveld 408576698