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

Side by Side Diff: components/sync_driver/device_info_util_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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/device_info_util.h" 5 #include "components/sync_driver/device_info_util.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "sync/protocol/sync.pb.h" 9 #include "components/sync/protocol/sync.pb.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 11
12 using base::Time; 12 using base::Time;
13 using base::TimeDelta; 13 using base::TimeDelta;
14 using sync_pb::DeviceInfoSpecifics; 14 using sync_pb::DeviceInfoSpecifics;
15 15
16 namespace sync_driver { 16 namespace sync_driver {
17 17
18 namespace { 18 namespace {
19 19
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 ASSERT_EQ(cache_guid, DeviceInfoUtil::TagToCacheGuid( 104 ASSERT_EQ(cache_guid, DeviceInfoUtil::TagToCacheGuid(
105 DeviceInfoUtil::SpecificsToTag(specifics))); 105 DeviceInfoUtil::SpecificsToTag(specifics)));
106 106
107 specifics.set_cache_guid(DeviceInfoUtil::kClientTagPrefix); 107 specifics.set_cache_guid(DeviceInfoUtil::kClientTagPrefix);
108 ASSERT_EQ(DeviceInfoUtil::kClientTagPrefix, 108 ASSERT_EQ(DeviceInfoUtil::kClientTagPrefix,
109 DeviceInfoUtil::TagToCacheGuid( 109 DeviceInfoUtil::TagToCacheGuid(
110 DeviceInfoUtil::SpecificsToTag(specifics))); 110 DeviceInfoUtil::SpecificsToTag(specifics)));
111 } 111 }
112 112
113 } // namespace sync_driver 113 } // namespace sync_driver
OLDNEW
« no previous file with comments | « components/sync_driver/device_info_util.cc ('k') | components/sync_driver/directory_data_type_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698