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" |
10 #include "components/sync_driver/non_ui_data_type_controller.h" | 11 #include "components/sync_driver/non_ui_data_type_controller.h" |
11 #include "sync/api/sync_error.h" | |
12 #include "testing/gmock/include/gmock/gmock.h" | 12 #include "testing/gmock/include/gmock/gmock.h" |
13 | 13 |
14 namespace sync_driver { | 14 namespace sync_driver { |
15 | 15 |
16 class NonUIDataTypeControllerMock | 16 class NonUIDataTypeControllerMock |
17 : public NonUIDataTypeController { | 17 : public NonUIDataTypeController { |
18 public: | 18 public: |
19 NonUIDataTypeControllerMock(); | 19 NonUIDataTypeControllerMock(); |
20 | 20 |
21 // DataTypeController mocks. | 21 // DataTypeController mocks. |
(...skipping 26 matching lines...) Expand all Loading... |
48 MOCK_METHOD1(RecordAssociationTime, void(base::TimeDelta time)); | 48 MOCK_METHOD1(RecordAssociationTime, void(base::TimeDelta time)); |
49 MOCK_METHOD1(RecordStartFailure, void(ConfigureResult result)); | 49 MOCK_METHOD1(RecordStartFailure, void(ConfigureResult result)); |
50 | 50 |
51 protected: | 51 protected: |
52 virtual ~NonUIDataTypeControllerMock(); | 52 virtual ~NonUIDataTypeControllerMock(); |
53 }; | 53 }; |
54 | 54 |
55 } // namespace sync_driver | 55 } // namespace sync_driver |
56 | 56 |
57 #endif // COMPONENTS_SYNC_DRIVER_NON_UI_DATA_TYPE_CONTROLLER_MOCK_H_ | 57 #endif // COMPONENTS_SYNC_DRIVER_NON_UI_DATA_TYPE_CONTROLLER_MOCK_H_ |
OLD | NEW |