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

Side by Side Diff: components/sync/model_impl/processor_entity_tracker_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/model_impl/processor_entity_tracker.h" 5 #include "components/sync/model_impl/processor_entity_tracker.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "components/sync/base/model_type.h" 10 #include "components/sync/base/model_type.h"
11 #include "components/sync/base/time.h" 11 #include "components/sync/base/time.h"
12 #include "components/sync/core/non_blocking_sync_common.h" 12 #include "components/sync/engine/non_blocking_sync_common.h"
13 #include "components/sync/protocol/sync.pb.h" 13 #include "components/sync/protocol/sync.pb.h"
14 #include "components/sync/syncable/syncable_util.h" 14 #include "components/sync/syncable/syncable_util.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 16
17 namespace syncer { 17 namespace syncer {
18 18
19 namespace { 19 namespace {
20 20
21 const char kKey[] = "key"; 21 const char kKey[] = "key";
22 const char kHash[] = "hash"; 22 const char kHash[] = "hash";
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 EXPECT_EQ("", entity->metadata().base_specifics_hash()); 475 EXPECT_EQ("", entity->metadata().base_specifics_hash());
476 476
477 EXPECT_FALSE(entity->IsUnsynced()); 477 EXPECT_FALSE(entity->IsUnsynced());
478 EXPECT_FALSE(entity->RequiresCommitRequest()); 478 EXPECT_FALSE(entity->RequiresCommitRequest());
479 EXPECT_FALSE(entity->RequiresCommitData()); 479 EXPECT_FALSE(entity->RequiresCommitData());
480 EXPECT_FALSE(entity->CanClearMetadata()); 480 EXPECT_FALSE(entity->CanClearMetadata());
481 EXPECT_FALSE(entity->HasCommitData()); 481 EXPECT_FALSE(entity->HasCommitData());
482 } 482 }
483 483
484 } // namespace syncer 484 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/model_impl/processor_entity_tracker.cc ('k') | components/sync/model_impl/shared_model_type_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698