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

Side by Side Diff: components/sync_driver/non_ui_data_type_controller_mock.h

Issue 408003002: [Sync] Fix namespace for sync_driver component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 CHROME_BROWSER_SYNC_GLUE_NON_UI_DATA_TYPE_CONTROLLER_MOCK_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_NON_UI_DATA_TYPE_CONTROLLER_MOCK_H_
6 #define CHROME_BROWSER_SYNC_GLUE_NON_UI_DATA_TYPE_CONTROLLER_MOCK_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_NON_UI_DATA_TYPE_CONTROLLER_MOCK_H_
7 7
8 #include "components/sync_driver/non_ui_data_type_controller.h" 8 #include "components/sync_driver/non_ui_data_type_controller.h"
9 #include "sync/api/sync_error.h" 9 #include "sync/api/sync_error.h"
10 #include "testing/gmock/include/gmock/gmock.h" 10 #include "testing/gmock/include/gmock/gmock.h"
11 11
12 namespace browser_sync { 12 namespace sync_driver {
13 13
14 class NonUIDataTypeControllerMock 14 class NonUIDataTypeControllerMock
15 : public NonUIDataTypeController { 15 : public NonUIDataTypeController {
16 public: 16 public:
17 NonUIDataTypeControllerMock(); 17 NonUIDataTypeControllerMock();
18 18
19 // DataTypeController mocks. 19 // DataTypeController mocks.
20 MOCK_METHOD1(StartAssociating, 20 MOCK_METHOD1(StartAssociating,
21 void(const StartCallback& start_callback)); 21 void(const StartCallback& start_callback));
22 MOCK_METHOD1(LoadModels, void(const ModelLoadCallback& model_load_callback)); 22 MOCK_METHOD1(LoadModels, void(const ModelLoadCallback& model_load_callback));
(...skipping 22 matching lines...) Expand all
45 DataTypeController::State new_state, 45 DataTypeController::State new_state,
46 const syncer::SyncMergeResult& local_merge_result, 46 const syncer::SyncMergeResult& local_merge_result,
47 const syncer::SyncMergeResult& syncer_merge_result)); 47 const syncer::SyncMergeResult& syncer_merge_result));
48 MOCK_METHOD1(RecordAssociationTime, void(base::TimeDelta time)); 48 MOCK_METHOD1(RecordAssociationTime, void(base::TimeDelta time));
49 MOCK_METHOD1(RecordStartFailure, void(StartResult result)); 49 MOCK_METHOD1(RecordStartFailure, void(StartResult result));
50 50
51 protected: 51 protected:
52 virtual ~NonUIDataTypeControllerMock(); 52 virtual ~NonUIDataTypeControllerMock();
53 }; 53 };
54 54
55 } // namespace browser_sync 55 } // namespace sync_driver
56 56
57 #endif // CHROME_BROWSER_SYNC_GLUE_NON_UI_DATA_TYPE_CONTROLLER_MOCK_H_ 57 #endif // CHROME_BROWSER_SYNC_GLUE_NON_UI_DATA_TYPE_CONTROLLER_MOCK_H_
OLDNEW
« no previous file with comments | « components/sync_driver/non_ui_data_type_controller.cc ('k') | components/sync_driver/non_ui_data_type_controller_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698