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

Side by Side Diff: components/sessions/core/serialized_navigation_entry_test_helper.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/sessions/core/serialized_navigation_entry_test_helper.h" 5 #include "components/sessions/core/serialized_navigation_entry_test_helper.h"
6 6
7 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 #include "base/time/time.h" 8 #include "base/time/time.h"
9 #include "components/sessions/core/serialized_navigation_entry.h" 9 #include "components/sessions/core/serialized_navigation_entry.h"
10 #include "sync/util/time.h" 10 #include "components/sync/base/time.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 #include "url/gurl.h" 12 #include "url/gurl.h"
13 13
14 namespace sessions { 14 namespace sessions {
15 15
16 namespace test_data { 16 namespace test_data {
17 17
18 const int kIndex = 3; 18 const int kIndex = 3;
19 const int kUniqueID = 50; 19 const int kUniqueID = 50;
20 const GURL kReferrerURL = GURL("http://www.referrer.com"); 20 const GURL kReferrerURL = GURL("http://www.referrer.com");
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 } 151 }
152 152
153 // static 153 // static
154 void SerializedNavigationEntryTestHelper::SetTimestamp( 154 void SerializedNavigationEntryTestHelper::SetTimestamp(
155 base::Time timestamp, 155 base::Time timestamp,
156 SerializedNavigationEntry* navigation) { 156 SerializedNavigationEntry* navigation) {
157 navigation->timestamp_ = timestamp; 157 navigation->timestamp_ = timestamp;
158 } 158 }
159 159
160 } // namespace sessions 160 } // namespace sessions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698