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

Unified Diff: chrome/browser/sync_file_system/sync_file_system_service.cc

Issue 11275225: Add a callback to RemoteFileSyncService for reporting errors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: build fix Created 8 years, 1 month 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 | « chrome/browser/sync_file_system/remote_file_sync_service.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync_file_system/sync_file_system_service.cc
diff --git a/chrome/browser/sync_file_system/sync_file_system_service.cc b/chrome/browser/sync_file_system/sync_file_system_service.cc
index c4219ece95cdbc2a0aa5c27941d5012840528792..5b8c420f766a216af0e3fe2ad6ab7d177d4e68bb 100644
--- a/chrome/browser/sync_file_system/sync_file_system_service.cc
+++ b/chrome/browser/sync_file_system/sync_file_system_service.cc
@@ -56,8 +56,10 @@ void SyncFileSystemService::InitializeForApp(
local_file_service_->MaybeInitializeFileSystemContext(
app_origin, service_name, file_system_context, callback);
- if (remote_file_service_)
- remote_file_service_->RegisterOriginForTrackingChanges(app_origin);
+ if (remote_file_service_) {
+ remote_file_service_->RegisterOriginForTrackingChanges(
+ app_origin, fileapi::SyncStatusCallback());
kinuko 2012/11/09 07:44:45 Please add TODO to handle this callback too (ok to
tzik 2012/11/09 07:52:40 Done.
+ }
}
void SyncFileSystemService::GetConflictFiles(
« no previous file with comments | « chrome/browser/sync_file_system/remote_file_sync_service.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698