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

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: 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
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/local/local_file_change_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..104e1e53ae1e56c8c432ed20ecad48dc8363da97 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_;
@@ -179,7 +184,7 @@ class LocalFileChangeTracker
// Change sequence number. Briefly gives a hint about the order of changes,
// but they are updated when a new change comes on the same file (as
// well as Drive's changestamps).
- int64 current_change_seq_;
+ int64 current_change_seq_number_;
// This can be accessed on any threads (with num_changes_lock_).
int64 num_changes_;
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/local/local_file_change_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698