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_; |