OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "base/file_util.h" | 5 #include "base/file_util.h" |
6 #include "base/memory/scoped_ptr.h" | 6 #include "base/memory/scoped_ptr.h" |
7 #include "base/path_service.h" | 7 #include "base/path_service.h" |
8 #include "base/stl_util-inl.h" | 8 #include "base/stl_util-inl.h" |
9 #include "base/string_util.h" | 9 #include "base/string_util.h" |
10 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
11 #include "chrome/browser/history/history.h" | 11 #include "chrome/browser/history/history.h" |
12 #include "chrome/browser/profiles/profile_manager.h" | 12 #include "chrome/browser/profiles/profile_manager.h" |
13 #include "chrome/browser/sessions/session_service.h" | 13 #include "chrome/browser/sessions/session_service.h" |
14 #include "chrome/browser/sessions/session_service_test_helper.h" | 14 #include "chrome/browser/sessions/session_service_test_helper.h" |
15 #include "chrome/browser/sessions/session_types.h" | 15 #include "chrome/browser/sessions/session_types.h" |
16 #include "chrome/common/render_messages.h" | 16 #include "chrome/common/render_messages.h" |
17 #include "chrome/common/render_messages_params.h" | |
18 #include "chrome/test/test_notification_tracker.h" | 17 #include "chrome/test/test_notification_tracker.h" |
19 #include "chrome/test/testing_profile.h" | 18 #include "chrome/test/testing_profile.h" |
20 #include "content/browser/renderer_host/test_render_view_host.h" | 19 #include "content/browser/renderer_host/test_render_view_host.h" |
21 #include "content/browser/site_instance.h" | 20 #include "content/browser/site_instance.h" |
22 #include "content/browser/tab_contents/navigation_controller.h" | 21 #include "content/browser/tab_contents/navigation_controller.h" |
23 #include "content/browser/tab_contents/navigation_entry.h" | 22 #include "content/browser/tab_contents/navigation_entry.h" |
24 #include "content/browser/tab_contents/tab_contents.h" | 23 #include "content/browser/tab_contents/tab_contents.h" |
25 #include "content/browser/tab_contents/tab_contents_delegate.h" | 24 #include "content/browser/tab_contents/tab_contents_delegate.h" |
26 #include "content/browser/tab_contents/test_tab_contents.h" | 25 #include "content/browser/tab_contents/test_tab_contents.h" |
27 #include "content/common/notification_registrar.h" | 26 #include "content/common/notification_registrar.h" |
(...skipping 2094 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2122 TabNavigation nav(0, url0, GURL(), string16(), | 2121 TabNavigation nav(0, url0, GURL(), string16(), |
2123 webkit_glue::CreateHistoryStateForURL(url0), | 2122 webkit_glue::CreateHistoryStateForURL(url0), |
2124 PageTransition::LINK); | 2123 PageTransition::LINK); |
2125 session_helper_.AssertNavigationEquals(nav, | 2124 session_helper_.AssertNavigationEquals(nav, |
2126 windows_[0]->tabs[0]->navigations[0]); | 2125 windows_[0]->tabs[0]->navigations[0]); |
2127 nav.set_url(url2); | 2126 nav.set_url(url2); |
2128 session_helper_.AssertNavigationEquals(nav, | 2127 session_helper_.AssertNavigationEquals(nav, |
2129 windows_[0]->tabs[0]->navigations[1]); | 2128 windows_[0]->tabs[0]->navigations[1]); |
2130 } | 2129 } |
2131 */ | 2130 */ |
OLD | NEW |