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

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

Issue 9307079: [Sync] Fix thread-ordering-dependent NULL dereference in NewNonFrontendDTC (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to head Created 8 years, 10 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/shared_change_processor_mock.h
diff --git a/chrome/browser/sync/glue/shared_change_processor_mock.h b/chrome/browser/sync/glue/shared_change_processor_mock.h
index 6e2d55d035c6af1c82028514a0ceae51d8018ebb..8fb91b416715d995aef31382ae0a36db47105088 100644
--- a/chrome/browser/sync/glue/shared_change_processor_mock.h
+++ b/chrome/browser/sync/glue/shared_change_processor_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.
@@ -18,21 +18,24 @@ class SharedChangeProcessorMock : public SharedChangeProcessor {
SharedChangeProcessorMock();
MOCK_METHOD4(Connect, bool(
- ProfileSyncComponentsFactory* sync_factory,
- ProfileSyncService* sync_service,
- UnrecoverableErrorHandler* error_handler,
- const base::WeakPtr<SyncableService>& local_service));
+ ProfileSyncComponentsFactory*,
+ ProfileSyncService*,
+ UnrecoverableErrorHandler*,
+ const base::WeakPtr<SyncableService>&));
MOCK_METHOD0(Disconnect, bool());
MOCK_METHOD2(ProcessSyncChanges,
- SyncError(const tracked_objects::Location& from_here,
- const SyncChangeList& change_list));
+ SyncError(const tracked_objects::Location&,
+ const SyncChangeList&));
MOCK_METHOD2(GetSyncDataForType,
- SyncError(syncable::ModelType type,
- SyncDataList* current_sync_data));
+ SyncError(syncable::ModelType,
+ SyncDataList*));
MOCK_METHOD2(SyncModelHasUserCreatedNodes,
- bool(syncable::ModelType type,
- bool* has_nodes));
- MOCK_METHOD1(CryptoReadyIfNecessary, bool(syncable::ModelType type));
+ bool(syncable::ModelType,
+ bool*));
+ MOCK_METHOD1(CryptoReadyIfNecessary, bool(syncable::ModelType));
+ MOCK_METHOD3(ActivateDataType,
+ void(ProfileSyncService*, syncable::ModelType,
+ browser_sync::ModelSafeGroup));
protected:
virtual ~SharedChangeProcessorMock();
« no previous file with comments | « chrome/browser/sync/glue/shared_change_processor.cc ('k') | chrome/browser/sync/glue/shared_change_processor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698