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

Side by Side Diff: components/sync/driver/glue/sync_backend_registrar_unittest.cc

Issue 2407163004: [Sync] Move some directory-related things from core/ to syncable/. (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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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/glue/sync_backend_registrar.h" 5 #include "components/sync/driver/glue/sync_backend_registrar.h"
6 6
7 #include "base/location.h" 7 #include "base/location.h"
8 #include "base/run_loop.h" 8 #include "base/run_loop.h"
9 #include "base/single_thread_task_runner.h" 9 #include "base/single_thread_task_runner.h"
10 #include "components/sync/core/test/test_user_share.h"
11 #include "components/sync/driver/change_processor_mock.h" 10 #include "components/sync/driver/change_processor_mock.h"
12 #include "components/sync/driver/fake_sync_client.h" 11 #include "components/sync/driver/fake_sync_client.h"
13 #include "components/sync/driver/glue/browser_thread_model_worker.h" 12 #include "components/sync/driver/glue/browser_thread_model_worker.h"
14 #include "components/sync/driver/sync_api_component_factory_mock.h" 13 #include "components/sync/driver/sync_api_component_factory_mock.h"
15 #include "components/sync/engine/passive_model_worker.h" 14 #include "components/sync/engine/passive_model_worker.h"
15 #include "components/sync/syncable/test_user_share.h"
16 #include "testing/gmock/include/gmock/gmock.h" 16 #include "testing/gmock/include/gmock/gmock.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 18
19 namespace syncer { 19 namespace syncer {
20 20
21 namespace { 21 namespace {
22 22
23 using ::testing::_; 23 using ::testing::_;
24 using ::testing::InSequence; 24 using ::testing::InSequence;
25 using ::testing::Return; 25 using ::testing::Return;
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 db_thread_lock_.Release(); 423 db_thread_lock_.Release();
424 424
425 // Run the main thread loop until all workers have been removed and the 425 // Run the main thread loop until all workers have been removed and the
426 // registrar destroyed. 426 // registrar destroyed.
427 run_loop_.Run(); 427 run_loop_.Run();
428 } 428 }
429 429
430 } // namespace 430 } // namespace
431 431
432 } // namespace syncer 432 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/driver/glue/sync_backend_registrar.cc ('k') | components/sync/driver/shared_change_processor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698