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

Side by Side Diff: components/sync/engine_impl/model_type_registry_unittest.cc

Issue 2413313004: [Sync] Move the last things out of core/. (Closed)
Patch Set: Address 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 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/engine_impl/model_type_registry.h" 5 #include "components/sync/engine_impl/model_type_registry.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/deferred_sequenced_task_runner.h" 9 #include "base/deferred_sequenced_task_runner.h"
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "components/sync/core/activation_context.h" 12 #include "components/sync/engine/activation_context.h"
13 #include "components/sync/core/test/fake_model_type_processor.h" 13 #include "components/sync/engine/fake_model_type_processor.h"
14 #include "components/sync/protocol/model_type_state.pb.h" 14 #include "components/sync/protocol/model_type_state.pb.h"
15 #include "components/sync/syncable/directory.h" 15 #include "components/sync/syncable/directory.h"
16 #include "components/sync/syncable/model_neutral_mutable_entry.h" 16 #include "components/sync/syncable/model_neutral_mutable_entry.h"
17 #include "components/sync/syncable/syncable_model_neutral_write_transaction.h" 17 #include "components/sync/syncable/syncable_model_neutral_write_transaction.h"
18 #include "components/sync/test/engine/fake_model_worker.h" 18 #include "components/sync/test/engine/fake_model_worker.h"
19 #include "components/sync/test/engine/mock_nudge_handler.h" 19 #include "components/sync/test/engine/mock_nudge_handler.h"
20 #include "components/sync/test/engine/test_directory_setter_upper.h" 20 #include "components/sync/test/engine/test_directory_setter_upper.h"
21 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
22 22
23 namespace syncer { 23 namespace syncer {
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 registry()->ConnectType( 262 registry()->ConnectType(
263 THEMES, 263 THEMES,
264 MakeActivationContext(model_type_state, 264 MakeActivationContext(model_type_state,
265 base::WrapUnique(new FakeModelTypeProcessor()))); 265 base::WrapUnique(new FakeModelTypeProcessor())));
266 266
267 EXPECT_EQ(ModelTypeSet(AUTOFILL, THEMES), 267 EXPECT_EQ(ModelTypeSet(AUTOFILL, THEMES),
268 registry()->GetInitialSyncEndedTypes()); 268 registry()->GetInitialSyncEndedTypes());
269 } 269 }
270 270
271 } // namespace syncer 271 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/engine_impl/model_type_registry.cc ('k') | components/sync/engine_impl/model_type_worker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698