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/serialized_navigation_entry_test_helper.h" | 5 #include "components/sessions/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.h" | 8 #include "base/time/time.h" |
9 #include "components/sessions/serialized_navigation_entry.h" | 9 #include "components/sessions/serialized_navigation_entry.h" |
10 #include "googleurl/src/gurl.h" | 10 #include "googleurl/src/gurl.h" |
11 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
12 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" | 12 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" |
13 | 13 |
14 namespace sessions { | 14 namespace sessions { |
15 | 15 |
16 // static | 16 // static |
17 void SerializedNavigationEntryTestHelper::ExpectNavigationEquals( | 17 void SerializedNavigationEntryTestHelper::ExpectNavigationEquals( |
18 const SerializedNavigationEntry& expected, | 18 const SerializedNavigationEntry& expected, |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 } | 75 } |
76 | 76 |
77 // static | 77 // static |
78 void SerializedNavigationEntryTestHelper::SetTimestamp( | 78 void SerializedNavigationEntryTestHelper::SetTimestamp( |
79 base::Time timestamp, | 79 base::Time timestamp, |
80 SerializedNavigationEntry* navigation) { | 80 SerializedNavigationEntry* navigation) { |
81 navigation->timestamp_ = timestamp; | 81 navigation->timestamp_ = timestamp; |
82 } | 82 } |
83 | 83 |
84 } // namespace sessions | 84 } // namespace sessions |
OLD | NEW |