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

Unified Diff: trunk/src/chrome/browser/sync/glue/frontend_data_type_controller.cc

Issue 467923002: Revert 288954 "[Sync] Don't synchronously stop datatypes that en..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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
« no previous file with comments | « no previous file | trunk/src/components/sync_driver/ui_data_type_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/browser/sync/glue/frontend_data_type_controller.cc
===================================================================
--- trunk/src/chrome/browser/sync/glue/frontend_data_type_controller.cc (revision 289110)
+++ trunk/src/chrome/browser/sync/glue/frontend_data_type_controller.cc (working copy)
@@ -153,12 +153,9 @@
if (!start_callback_.is_null()) {
syncer::SyncMergeResult local_merge_result(type());
local_merge_result.set_error(error);
- base::MessageLoop::current()->PostTask(
- FROM_HERE,
- base::Bind(start_callback_,
- RUNTIME_ERROR,
- local_merge_result,
- syncer::SyncMergeResult(type())));
+ start_callback_.Run(RUNTIME_ERROR,
+ local_merge_result,
+ syncer::SyncMergeResult(type()));
}
}
« no previous file with comments | « no previous file | trunk/src/components/sync_driver/ui_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698