OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_SYNC_DRIVER_NON_UI_DATA_TYPE_CONTROLLER_MOCK_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_NON_UI_DATA_TYPE_CONTROLLER_MOCK_H_ |
6 #define COMPONENTS_SYNC_DRIVER_NON_UI_DATA_TYPE_CONTROLLER_MOCK_H_ | 6 #define COMPONENTS_SYNC_DRIVER_NON_UI_DATA_TYPE_CONTROLLER_MOCK_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "components/sync/api/sync_error.h" | |
11 #include "components/sync/driver/non_ui_data_type_controller.h" | 10 #include "components/sync/driver/non_ui_data_type_controller.h" |
| 11 #include "components/sync/model/sync_error.h" |
12 #include "testing/gmock/include/gmock/gmock.h" | 12 #include "testing/gmock/include/gmock/gmock.h" |
13 | 13 |
14 namespace syncer { | 14 namespace syncer { |
15 | 15 |
16 class NonUIDataTypeControllerMock : public NonUIDataTypeController { | 16 class NonUIDataTypeControllerMock : public NonUIDataTypeController { |
17 public: | 17 public: |
18 NonUIDataTypeControllerMock(); | 18 NonUIDataTypeControllerMock(); |
19 virtual ~NonUIDataTypeControllerMock(); | 19 virtual ~NonUIDataTypeControllerMock(); |
20 | 20 |
21 // DataTypeController mocks. | 21 // DataTypeController mocks. |
(...skipping 13 matching lines...) Expand all Loading... |
35 MOCK_METHOD3(StartDone, | 35 MOCK_METHOD3(StartDone, |
36 void(DataTypeController::ConfigureResult result, | 36 void(DataTypeController::ConfigureResult result, |
37 const SyncMergeResult& local_merge_result, | 37 const SyncMergeResult& local_merge_result, |
38 const SyncMergeResult& syncer_merge_result)); | 38 const SyncMergeResult& syncer_merge_result)); |
39 MOCK_METHOD1(RecordStartFailure, void(ConfigureResult result)); | 39 MOCK_METHOD1(RecordStartFailure, void(ConfigureResult result)); |
40 }; | 40 }; |
41 | 41 |
42 } // namespace syncer | 42 } // namespace syncer |
43 | 43 |
44 #endif // COMPONENTS_SYNC_DRIVER_NON_UI_DATA_TYPE_CONTROLLER_MOCK_H_ | 44 #endif // COMPONENTS_SYNC_DRIVER_NON_UI_DATA_TYPE_CONTROLLER_MOCK_H_ |
OLD | NEW |