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

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: +TODO comment 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..7da2bdaaa77ba29423036408fb02231e310508cb 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,11 @@ 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_) {
+ // TODO(tzik): Handle errors in the completion callback.
+ remote_file_service_->RegisterOriginForTrackingChanges(
+ app_origin, fileapi::SyncStatusCallback());
+ }
}
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