Index: chrome/browser/sync/glue/typed_url_data_type_controller.cc |
=================================================================== |
--- chrome/browser/sync/glue/typed_url_data_type_controller.cc (revision 48898) |
+++ chrome/browser/sync/glue/typed_url_data_type_controller.cc (working copy) |
@@ -188,17 +188,22 @@ |
StartDone(result, NOT_RUNNING); |
} |
-void TypedUrlDataTypeController::OnUnrecoverableError() { |
+void TypedUrlDataTypeController::OnUnrecoverableError( |
+ const tracked_objects::Location& from_here, |
+ const std::string& message) { |
ChromeThread::PostTask( |
ChromeThread::UI, FROM_HERE, |
NewRunnableMethod(this, |
- &TypedUrlDataTypeController::OnUnrecoverableErrorImpl)); |
+ &TypedUrlDataTypeController::OnUnrecoverableErrorImpl, |
+ from_here, message)); |
} |
-void TypedUrlDataTypeController::OnUnrecoverableErrorImpl() { |
+void TypedUrlDataTypeController::OnUnrecoverableErrorImpl( |
+ const tracked_objects::Location& from_here, |
+ const std::string& message) { |
DCHECK(ChromeThread::CurrentlyOn(ChromeThread::UI)); |
UMA_HISTOGRAM_COUNTS("Sync.TypedUrlRunFailures", 1); |
- sync_service_->OnUnrecoverableError(); |
+ sync_service_->OnUnrecoverableError(from_here, message); |
} |
} // namespace browser_sync |