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