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

Side by Side Diff: components/sync/engine/sync_backend_registrar_unittest.cc

Issue 2662453008: [Sync] Fix sync lint errors/includes, update presubmit. (Closed)
Patch Set: Rebase Created 3 years, 10 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/engine/sync_backend_registrar.h" 5 #include "components/sync/engine/sync_backend_registrar.h"
6 6
7 #include <memory>
8
9 #include "base/location.h" 7 #include "base/location.h"
10 #include "base/memory/ptr_util.h" 8 #include "base/memory/ptr_util.h"
11 #include "base/run_loop.h" 9 #include "base/run_loop.h"
12 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
13 #include "base/threading/thread.h" 11 #include "base/threading/thread.h"
14 #include "components/sync/engine/browser_thread_model_worker.h" 12 #include "components/sync/engine/browser_thread_model_worker.h"
15 #include "components/sync/engine/passive_model_worker.h" 13 #include "components/sync/engine/passive_model_worker.h"
16 #include "components/sync/model/change_processor_mock.h" 14 #include "components/sync/model/change_processor_mock.h"
17 #include "components/sync/syncable/test_user_share.h" 15 #include "components/sync/syncable/test_user_share.h"
18 #include "testing/gmock/include/gmock/gmock.h" 16 #include "testing/gmock/include/gmock/gmock.h"
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 registrar()->ConfigureDataTypes(types_to_add, ModelTypeSet()); 263 registrar()->ConfigureDataTypes(types_to_add, ModelTypeSet());
266 EXPECT_EQ(ModelTypeSet(BOOKMARKS), newly_added_types); 264 EXPECT_EQ(ModelTypeSet(BOOKMARKS), newly_added_types);
267 EXPECT_EQ(types_to_add, registrar()->GetLastConfiguredTypes()); 265 EXPECT_EQ(types_to_add, registrar()->GetLastConfiguredTypes());
268 ExpectRoutingInfo( 266 ExpectRoutingInfo(
269 {{AUTOFILL, GROUP_NON_BLOCKING}, {BOOKMARKS, GROUP_NON_BLOCKING}}); 267 {{AUTOFILL, GROUP_NON_BLOCKING}, {BOOKMARKS, GROUP_NON_BLOCKING}});
270 } 268 }
271 269
272 } // namespace 270 } // namespace
273 271
274 } // namespace syncer 272 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/engine/engine_components_factory_impl.cc ('k') | components/sync/engine/ui_model_worker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698