Index: chrome/browser/sync/glue/new_non_frontend_data_type_controller.cc |
diff --git a/chrome/browser/sync/glue/new_non_frontend_data_type_controller.cc b/chrome/browser/sync/glue/new_non_frontend_data_type_controller.cc |
index 2b0fa16c25cd0fdb14ac798664228c7225e6468a..51a2226c5229b4540ff5b226c6f089ccca4c3e6d 100644 |
--- a/chrome/browser/sync/glue/new_non_frontend_data_type_controller.cc |
+++ b/chrome/browser/sync/glue/new_non_frontend_data_type_controller.cc |
@@ -227,6 +227,13 @@ void NewNonFrontendDataTypeController::Stop() { |
set_state(NOT_RUNNING); |
} |
+void NewNonFrontendDataTypeController::StopLocalServiceAsync() { |
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ PostTaskOnBackendThread( |
+ FROM_HERE, |
+ base::Bind(&NewNonFrontendDataTypeController::StopLocalService, this)); |
+} |
+ |
void NewNonFrontendDataTypeController::StopLocalService() { |
DCHECK(!BrowserThread::CurrentlyOn(BrowserThread::UI)); |
if (local_service_.get()) |
@@ -235,11 +242,6 @@ void NewNonFrontendDataTypeController::StopLocalService() { |
shared_change_processor_ = NULL; |
} |
-bool NewNonFrontendDataTypeController::StopAssociationAsync() { |
- NOTIMPLEMENTED(); |
- return false; |
-} |
- |
void NewNonFrontendDataTypeController::CreateSyncComponents() { |
NOTIMPLEMENTED(); |
} |