Index: chrome/browser/sync/glue/data_type_manager_mock.h |
diff --git a/chrome/browser/sync/glue/data_type_manager_mock.h b/chrome/browser/sync/glue/data_type_manager_mock.h |
index 2a1705a7f1a160b25cd215bf8f4fe381ed7351a7..05a366544248de24d22c2e012743d3b74aed8c65 100644 |
--- a/chrome/browser/sync/glue/data_type_manager_mock.h |
+++ b/chrome/browser/sync/glue/data_type_manager_mock.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 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. |
@@ -30,17 +30,8 @@ namespace browser_sync { |
class DataTypeManagerMock : public DataTypeManager { |
public: |
- DataTypeManagerMock() : result_(OK) { |
- // By default, calling Configure will send a SYNC_CONFIGURE_START |
- // and SYNC_CONFIGURE_DONE notification with a DataTypeManager::OK |
- // detail. |
- ON_CALL(*this, Configure(testing::_)). |
- WillByDefault(testing::DoAll( |
- NotifyFromDataTypeManager(this, |
- NotificationType::SYNC_CONFIGURE_START), |
- NotifyFromDataTypeManagerWithResult |
- (this, NotificationType::SYNC_CONFIGURE_DONE, &result_))); |
- } |
+ DataTypeManagerMock(); |
+ virtual ~DataTypeManagerMock(); |
MOCK_METHOD1(Configure, void(const TypeSet&)); |
MOCK_METHOD0(Stop, void()); |