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

Side by Side Diff: components/sync/core/processor_entity_tracker_unittest.cc

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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
« no previous file with comments | « components/sync/core/processor_entity_tracker.cc ('k') | components/sync/core/read_node.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "sync/internal_api/public/processor_entity_tracker.h" 5 #include "components/sync/core/processor_entity_tracker.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <utility> 10 #include <utility>
11 11
12 #include "base/memory/ptr_util.h" 12 #include "base/memory/ptr_util.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 #include "sync/internal_api/public/base/model_type.h" 14 #include "components/sync/base/model_type.h"
15 #include "sync/internal_api/public/non_blocking_sync_common.h" 15 #include "components/sync/base/time.h"
16 #include "sync/protocol/sync.pb.h" 16 #include "components/sync/core/non_blocking_sync_common.h"
17 #include "sync/syncable/syncable_util.h" 17 #include "components/sync/protocol/sync.pb.h"
18 #include "sync/util/time.h" 18 #include "components/sync/syncable/syncable_util.h"
19 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
20 20
21 namespace syncer_v2 { 21 namespace syncer_v2 {
22 22
23 namespace { 23 namespace {
24 24
25 const std::string kTag = "tag"; 25 const std::string kTag = "tag";
26 const std::string kId = "id"; 26 const std::string kId = "id";
27 const std::string kValue1 = "value1"; 27 const std::string kValue1 = "value1";
28 const std::string kValue2 = "value2"; 28 const std::string kValue2 = "value2";
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 EXPECT_EQ("", entity->metadata().base_specifics_hash()); 476 EXPECT_EQ("", entity->metadata().base_specifics_hash());
477 477
478 EXPECT_FALSE(entity->IsUnsynced()); 478 EXPECT_FALSE(entity->IsUnsynced());
479 EXPECT_FALSE(entity->RequiresCommitRequest()); 479 EXPECT_FALSE(entity->RequiresCommitRequest());
480 EXPECT_FALSE(entity->RequiresCommitData()); 480 EXPECT_FALSE(entity->RequiresCommitData());
481 EXPECT_FALSE(entity->CanClearMetadata()); 481 EXPECT_FALSE(entity->CanClearMetadata());
482 EXPECT_FALSE(entity->HasCommitData()); 482 EXPECT_FALSE(entity->HasCommitData());
483 } 483 }
484 484
485 } // namespace syncer_v2 485 } // namespace syncer_v2
OLDNEW
« no previous file with comments | « components/sync/core/processor_entity_tracker.cc ('k') | components/sync/core/read_node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698