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

Unified Diff: chrome/browser/sync/glue/new_non_frontend_data_type_controller_mock.h

Issue 9264062: [Sync] Consolidate DataTypeController methods that post on the backend thread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add suppressions Created 8 years, 11 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
Index: chrome/browser/sync/glue/new_non_frontend_data_type_controller_mock.h
diff --git a/chrome/browser/sync/glue/new_non_frontend_data_type_controller_mock.h b/chrome/browser/sync/glue/new_non_frontend_data_type_controller_mock.h
index bbb0fcd25c140927c5c7b598023d7b0bd2174179..cb6fc02495272a1dc663aabd5e1cd9c041384d70 100644
--- a/chrome/browser/sync/glue/new_non_frontend_data_type_controller_mock.h
+++ b/chrome/browser/sync/glue/new_non_frontend_data_type_controller_mock.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -31,7 +31,9 @@ class NewNonFrontendDataTypeControllerMock
// NonFrontendDataTypeController mocks.
MOCK_METHOD0(StartModels, bool());
- MOCK_METHOD0(StartAssociationAsync, bool());
+ MOCK_METHOD2(PostTaskOnBackendThread,
+ bool(const tracked_objects::Location&,
+ const base::Closure&));
MOCK_METHOD0(StartAssociation, void());
MOCK_METHOD0(CreateSyncComponents, void());
MOCK_METHOD2(StartFailed, void(StartResult result,
@@ -55,8 +57,6 @@ class NewNonFrontendDataTypeControllerMock
// NewNonFrontendDataTypeController mocks.
MOCK_CONST_METHOD0(GetWeakPtrToSyncableService,
base::WeakPtr<SyncableService>());
- MOCK_METHOD0(StopLocalService, void());
- MOCK_METHOD0(StopLocalServiceAsync, void());
};
} // namespace browser_sync

Powered by Google App Engine
This is Rietveld 408576698