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

Side by Side Diff: components/sync_driver/fake_data_type_controller.cc

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 #include "components/sync_driver/fake_data_type_controller.h" 5 #include "components/sync_driver/fake_data_type_controller.h"
6 6
7 #include "base/threading/thread_task_runner_handle.h" 7 #include "base/threading/thread_task_runner_handle.h"
8 #include "sync/api/sync_merge_result.h" 8 #include "components/sync/api/sync_merge_result.h"
9 #include "testing/gmock/include/gmock/gmock.h" 9 #include "testing/gmock/include/gmock/gmock.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 11
12 using syncer::ModelType; 12 using syncer::ModelType;
13 13
14 namespace sync_driver { 14 namespace sync_driver {
15 15
16 FakeDataTypeController::FakeDataTypeController(ModelType type) 16 FakeDataTypeController::FakeDataTypeController(ModelType type)
17 : DirectoryDataTypeController(base::ThreadTaskRunnerHandle::Get(), 17 : DirectoryDataTypeController(base::ThreadTaskRunnerHandle::Get(),
18 base::Closure()), 18 base::Closure()),
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 162
163 void FakeDataTypeController::SetReadyForStart(bool ready) { 163 void FakeDataTypeController::SetReadyForStart(bool ready) {
164 ready_for_start_ = ready; 164 ready_for_start_ = ready;
165 } 165 }
166 166
167 void FakeDataTypeController::SetShouldLoadModelBeforeConfigure(bool value) { 167 void FakeDataTypeController::SetShouldLoadModelBeforeConfigure(bool value) {
168 should_load_model_before_configure_ = value; 168 should_load_model_before_configure_ = value;
169 } 169 }
170 170
171 } // namespace sync_driver 171 } // namespace sync_driver
OLDNEW
« no previous file with comments | « components/sync_driver/directory_data_type_controller.h ('k') | components/sync_driver/fake_generic_change_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698