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

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

Issue 2388973002: [Sync] Removing duplicate includes, part 2. (Closed)
Patch Set: Update for Max's comments. 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/base/model_type.h"
11 #include "components/sync/core/test/test_user_share.h" 10 #include "components/sync/core/test/test_user_share.h"
12 #include "components/sync/driver/change_processor_mock.h" 11 #include "components/sync/driver/change_processor_mock.h"
13 #include "components/sync/driver/fake_sync_client.h" 12 #include "components/sync/driver/fake_sync_client.h"
14 #include "components/sync/driver/glue/browser_thread_model_worker.h" 13 #include "components/sync/driver/glue/browser_thread_model_worker.h"
15 #include "components/sync/driver/sync_api_component_factory_mock.h" 14 #include "components/sync/driver/sync_api_component_factory_mock.h"
16 #include "components/sync/engine/passive_model_worker.h" 15 #include "components/sync/engine/passive_model_worker.h"
17 #include "testing/gmock/include/gmock/gmock.h" 16 #include "testing/gmock/include/gmock/gmock.h"
18 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
19 18
20 namespace syncer { 19 namespace syncer {
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 db_thread_lock_.Release(); 423 db_thread_lock_.Release();
425 424
426 // 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
427 // registrar destroyed. 426 // registrar destroyed.
428 run_loop_.Run(); 427 run_loop_.Run();
429 } 428 }
430 429
431 } // namespace 430 } // namespace
432 431
433 } // namespace syncer 432 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698