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.h" | 5 #include "components/sessions/core/serialized_navigation_entry.h" |
6 | 6 |
7 #include <cstddef> | 7 #include <cstddef> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/pickle.h" | 12 #include "base/pickle.h" |
13 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
14 #include "base/strings/string_number_conversions.h" | 14 #include "base/strings/string_number_conversions.h" |
15 #include "base/strings/utf_string_conversions.h" | 15 #include "base/strings/utf_string_conversions.h" |
16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
17 #include "components/sessions/core/serialized_navigation_driver.h" | 17 #include "components/sessions/core/serialized_navigation_driver.h" |
18 #include "components/sessions/serialized_navigation_entry_test_helper.h" | 18 #include "components/sessions/core/serialized_navigation_entry_test_helper.h" |
19 #include "sync/protocol/session_specifics.pb.h" | 19 #include "sync/protocol/session_specifics.pb.h" |
20 #include "sync/util/time.h" | 20 #include "sync/util/time.h" |
21 #include "testing/gtest/include/gtest/gtest.h" | 21 #include "testing/gtest/include/gtest/gtest.h" |
22 #include "ui/base/page_transition_types.h" | 22 #include "ui/base/page_transition_types.h" |
23 #include "url/gurl.h" | 23 #include "url/gurl.h" |
24 | 24 |
25 namespace sessions { | 25 namespace sessions { |
26 namespace { | 26 namespace { |
27 | 27 |
28 // Create a sync_pb::TabNavigation from the constants above. | 28 // Create a sync_pb::TabNavigation from the constants above. |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 const ui::PageTransition constructed_transition = | 218 const ui::PageTransition constructed_transition = |
219 constructed_nav.transition_type(); | 219 constructed_nav.transition_type(); |
220 | 220 |
221 EXPECT_EQ(transition, constructed_transition); | 221 EXPECT_EQ(transition, constructed_transition); |
222 } | 222 } |
223 } | 223 } |
224 } | 224 } |
225 | 225 |
226 } // namespace | 226 } // namespace |
227 } // namespace sessions | 227 } // namespace sessions |
OLD | NEW |