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

Side by Side Diff: components/sync_driver/non_ui_data_type_controller_unittest.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/non_ui_data_type_controller.h" 5 #include "components/sync_driver/non_ui_data_type_controller.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/bind_helpers.h" 11 #include "base/bind_helpers.h"
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/location.h" 14 #include "base/location.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/run_loop.h" 16 #include "base/run_loop.h"
17 #include "base/single_thread_task_runner.h" 17 #include "base/single_thread_task_runner.h"
18 #include "base/synchronization/waitable_event.h" 18 #include "base/synchronization/waitable_event.h"
19 #include "base/test/test_timeouts.h" 19 #include "base/test/test_timeouts.h"
20 #include "base/threading/thread.h" 20 #include "base/threading/thread.h"
21 #include "base/threading/thread_task_runner_handle.h" 21 #include "base/threading/thread_task_runner_handle.h"
22 #include "base/tracked_objects.h" 22 #include "base/tracked_objects.h"
23 #include "components/sync/api/fake_syncable_service.h"
24 #include "components/sync/api/sync_change.h"
25 #include "components/sync/engine/model_safe_worker.h"
23 #include "components/sync_driver/data_type_controller_mock.h" 26 #include "components/sync_driver/data_type_controller_mock.h"
24 #include "components/sync_driver/fake_sync_client.h" 27 #include "components/sync_driver/fake_sync_client.h"
25 #include "components/sync_driver/generic_change_processor_factory.h" 28 #include "components/sync_driver/generic_change_processor_factory.h"
26 #include "components/sync_driver/non_ui_data_type_controller_mock.h" 29 #include "components/sync_driver/non_ui_data_type_controller_mock.h"
27 #include "sync/api/fake_syncable_service.h"
28 #include "sync/api/sync_change.h"
29 #include "sync/internal_api/public/engine/model_safe_worker.h"
30 #include "testing/gmock/include/gmock/gmock.h" 30 #include "testing/gmock/include/gmock/gmock.h"
31 #include "testing/gtest/include/gtest/gtest.h" 31 #include "testing/gtest/include/gtest/gtest.h"
32 32
33 namespace sync_driver { 33 namespace sync_driver {
34 34
35 class SyncClient; 35 class SyncClient;
36 36
37 namespace { 37 namespace {
38 38
39 using base::WaitableEvent; 39 using base::WaitableEvent;
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 FROM_HERE, 503 FROM_HERE,
504 base::Bind( 504 base::Bind(
505 &NonUIDataTypeControllerFake::OnSingleDataTypeUnrecoverableError, 505 &NonUIDataTypeControllerFake::OnSingleDataTypeUnrecoverableError,
506 non_ui_dtc_.get(), error)); 506 non_ui_dtc_.get(), error));
507 WaitForDTC(); 507 WaitForDTC();
508 } 508 }
509 509
510 } // namespace 510 } // namespace
511 511
512 } // namespace sync_driver 512 } // namespace sync_driver
OLDNEW
« no previous file with comments | « components/sync_driver/non_ui_data_type_controller_mock.h ('k') | components/sync_driver/non_ui_model_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698