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

Unified Diff: components/sync/driver/non_ui_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 side-by-side diff with in-line comments
Download patch
Index: components/sync/driver/non_ui_data_type_controller_mock.h
diff --git a/components/sync/driver/non_ui_data_type_controller_mock.h b/components/sync/driver/non_ui_data_type_controller_mock.h
index 0f63627f60ad4bab536045b85e1a9efdca0ac6b9..a62e2f97427c36186dc3d5bd55b116208085b76e 100644
--- a/components/sync/driver/non_ui_data_type_controller_mock.h
+++ b/components/sync/driver/non_ui_data_type_controller_mock.h
@@ -11,7 +11,7 @@
#include "components/sync/driver/non_ui_data_type_controller.h"
#include "testing/gmock/include/gmock/gmock.h"
-namespace syncer {
+namespace sync_driver {
class NonUIDataTypeControllerMock : public NonUIDataTypeController {
public:
@@ -22,9 +22,9 @@ class NonUIDataTypeControllerMock : public NonUIDataTypeController {
MOCK_METHOD1(StartAssociating, void(const StartCallback& start_callback));
MOCK_METHOD1(LoadModels, void(const ModelLoadCallback& model_load_callback));
MOCK_METHOD0(Stop, void());
- MOCK_CONST_METHOD0(type, ModelType());
+ MOCK_CONST_METHOD0(type, syncer::ModelType());
MOCK_CONST_METHOD0(name, std::string());
- MOCK_CONST_METHOD0(model_safe_group, ModelSafeGroup());
+ MOCK_CONST_METHOD0(model_safe_group, syncer::ModelSafeGroup());
MOCK_CONST_METHOD0(state, State());
// NonUIDataTypeController mocks.
@@ -34,11 +34,11 @@ class NonUIDataTypeControllerMock : public NonUIDataTypeController {
bool(const tracked_objects::Location&, const base::Closure&));
MOCK_METHOD3(StartDone,
void(DataTypeController::ConfigureResult result,
- const SyncMergeResult& local_merge_result,
- const SyncMergeResult& syncer_merge_result));
+ const syncer::SyncMergeResult& local_merge_result,
+ const syncer::SyncMergeResult& syncer_merge_result));
MOCK_METHOD1(RecordStartFailure, void(ConfigureResult result));
};
-} // namespace syncer
+} // namespace sync_driver
#endif // COMPONENTS_SYNC_DRIVER_NON_UI_DATA_TYPE_CONTROLLER_MOCK_H_
« 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