| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |