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

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

Issue 390283002: [SyncFS] Demote local file changes before local-to-remote sync (3/3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: debug printfs Created 6 years, 4 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_context.h
diff --git a/chrome/browser/sync_file_system/local/local_file_sync_context.h b/chrome/browser/sync_file_system/local/local_file_sync_context.h
index ce47b4728bab22e76baae01c24237eab1d206a1f..f293ae50b82151bacb3da30d780b931c732d0c9a 100644
--- a/chrome/browser/sync_file_system/local/local_file_sync_context.h
+++ b/chrome/browser/sync_file_system/local/local_file_sync_context.h
@@ -274,6 +274,12 @@ class LocalFileSyncContext
SyncStatusCode status,
const LocalFileSyncInfo& sync_file_info,
webkit_blob::ScopedFile snapshot);
+ void PromoteDemotedChangesForURL(
+ fileapi::FileSystemContext* file_system_context,
+ const fileapi::FileSystemURL& url);
+ void PromoteDemotedChangesForURLs(
+ fileapi::FileSystemContext* file_system_context,
+ scoped_ptr<FileSystemURLQueue> url);
// Callback routine for PrepareForSync and GetFileForLocalSync.
void DidGetWritingStatusForSync(

Powered by Google App Engine
This is Rietveld 408576698