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

Side by Side Diff: components/sync/driver/data_type_controller_mock.h

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: Created 4 years, 2 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
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 COMPONENTS_SYNC_DRIVER_DATA_TYPE_CONTROLLER_MOCK_H__ 5 #ifndef COMPONENTS_SYNC_DRIVER_DATA_TYPE_CONTROLLER_MOCK_H__
6 #define COMPONENTS_SYNC_DRIVER_DATA_TYPE_CONTROLLER_MOCK_H__ 6 #define COMPONENTS_SYNC_DRIVER_DATA_TYPE_CONTROLLER_MOCK_H__
7 7
8 #include "components/sync/api/sync_error.h" 8 #include "components/sync/api/sync_error.h"
9 #include "components/sync/api/sync_merge_result.h" 9 #include "components/sync/api/sync_merge_result.h"
10 #include "components/sync/driver/data_type_controller.h" 10 #include "components/sync/driver/data_type_controller.h"
11 #include "testing/gmock/include/gmock/gmock.h" 11 #include "testing/gmock/include/gmock/gmock.h"
12 12
13 namespace syncer { 13 namespace sync_driver {
14 14
15 class StartCallbackMock { 15 class StartCallbackMock {
16 public: 16 public:
17 StartCallbackMock(); 17 StartCallbackMock();
18 virtual ~StartCallbackMock(); 18 virtual ~StartCallbackMock();
19 19
20 MOCK_METHOD3(Run, 20 MOCK_METHOD3(Run,
21 void(DataTypeController::ConfigureResult result, 21 void(DataTypeController::ConfigureResult result,
22 const SyncMergeResult& local_merge_result, 22 const syncer::SyncMergeResult& local_merge_result,
23 const SyncMergeResult& syncer_merge_result)); 23 const syncer::SyncMergeResult& syncer_merge_result));
24 }; 24 };
25 25
26 class ModelLoadCallbackMock { 26 class ModelLoadCallbackMock {
27 public: 27 public:
28 ModelLoadCallbackMock(); 28 ModelLoadCallbackMock();
29 virtual ~ModelLoadCallbackMock(); 29 virtual ~ModelLoadCallbackMock();
30 30
31 MOCK_METHOD2(Run, void(ModelType, const SyncError&)); 31 MOCK_METHOD2(Run, void(syncer::ModelType, const syncer::SyncError&));
32 }; 32 };
33 33
34 } // namespace syncer 34 } // namespace sync_driver
35 35
36 #endif // COMPONENTS_SYNC_DRIVER_DATA_TYPE_CONTROLLER_MOCK_H__ 36 #endif // COMPONENTS_SYNC_DRIVER_DATA_TYPE_CONTROLLER_MOCK_H__
OLDNEW
« no previous file with comments | « components/sync/driver/data_type_controller.cc ('k') | components/sync/driver/data_type_controller_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698