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

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

Issue 23578026: Use SNAPSHOT sync mode for LocalSync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased on thread_bundle fix Created 7 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
Index: chrome/browser/sync_file_system/local/local_file_sync_service.h
diff --git a/chrome/browser/sync_file_system/local/local_file_sync_service.h b/chrome/browser/sync_file_system/local/local_file_sync_service.h
index 7da29c64d391d1111b1b586ec2b7d7680e54b54e..b72f66e78c14db21d475d621669ce69e7ee3fc88 100644
--- a/chrome/browser/sync_file_system/local/local_file_sync_service.h
+++ b/chrome/browser/sync_file_system/local/local_file_sync_service.h
@@ -26,6 +26,10 @@ namespace fileapi {
class FileSystemContext;
}
+namespace webkit_blob {
+class ScopedFile;
+}
+
namespace sync_file_system {
class FileChange;
@@ -181,8 +185,10 @@ class LocalFileSyncService
// Callbacks for ProcessLocalChange.
void DidGetFileForLocalSync(
SyncStatusCode status,
- const LocalFileSyncInfo& sync_file_info);
+ const LocalFileSyncInfo& sync_file_info,
+ scoped_ptr<webkit_blob::ScopedFile> snapshot);
void ProcessNextChangeForURL(
+ scoped_ptr<webkit_blob::ScopedFile> snapshot,
const LocalFileSyncInfo& sync_file_info,
const FileChange& last_change,
const FileChangeList& changes,

Powered by Google App Engine
This is Rietveld 408576698