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

Side by Side Diff: content/browser/web_contents/navigation_controller_impl_unittest.cc

Issue 10024066: TabContents -> WebContentsImpl, part 4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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.h" 8 #include "base/stl_util.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 // These are only used for commented out tests. If someone wants to enable 11 // These are only used for commented out tests. If someone wants to enable
12 // them, they should be moved to chrome first. 12 // them, they should be moved to chrome first.
13 // #include "chrome/browser/history/history.h" 13 // #include "chrome/browser/history/history.h"
14 // #include "chrome/browser/profiles/profile_manager.h" 14 // #include "chrome/browser/profiles/profile_manager.h"
15 // #include "chrome/browser/sessions/session_service.h" 15 // #include "chrome/browser/sessions/session_service.h"
16 // #include "chrome/browser/sessions/session_service_factory.h" 16 // #include "chrome/browser/sessions/session_service_factory.h"
17 // #include "chrome/browser/sessions/session_service_test_helper.h" 17 // #include "chrome/browser/sessions/session_service_test_helper.h"
18 // #include "chrome/browser/sessions/session_types.h" 18 // #include "chrome/browser/sessions/session_types.h"
19 #include "content/browser/renderer_host/test_render_view_host.h" 19 #include "content/browser/renderer_host/test_render_view_host.h"
20 #include "content/browser/site_instance_impl.h" 20 #include "content/browser/site_instance_impl.h"
21 #include "content/browser/tab_contents/tab_contents.h" 21 #include "content/browser/tab_contents/tab_contents.h"
22 #include "content/browser/tab_contents/test_web_contents.h"
23 #include "content/browser/web_contents/navigation_controller_impl.h" 22 #include "content/browser/web_contents/navigation_controller_impl.h"
24 #include "content/browser/web_contents/navigation_entry_impl.h" 23 #include "content/browser/web_contents/navigation_entry_impl.h"
24 #include "content/browser/web_contents/test_web_contents.h"
25 #include "content/common/view_messages.h" 25 #include "content/common/view_messages.h"
26 #include "content/public/browser/navigation_details.h" 26 #include "content/public/browser/navigation_details.h"
27 #include "content/public/browser/notification_registrar.h" 27 #include "content/public/browser/notification_registrar.h"
28 #include "content/public/browser/notification_types.h" 28 #include "content/public/browser/notification_types.h"
29 #include "content/public/browser/web_contents_delegate.h" 29 #include "content/public/browser/web_contents_delegate.h"
30 #include "content/test/mock_render_process_host.h" 30 #include "content/test/mock_render_process_host.h"
31 #include "content/test/test_browser_context.h" 31 #include "content/test/test_browser_context.h"
32 #include "content/test/test_notification_tracker.h" 32 #include "content/test/test_notification_tracker.h"
33 #include "net/base/net_util.h" 33 #include "net/base/net_util.h"
34 #include "testing/gtest/include/gtest/gtest.h" 34 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 2548 matching lines...) Expand 10 before | Expand all | Expand 10 after
2583 TabNavigation nav(0, url0, GURL(), string16(), 2583 TabNavigation nav(0, url0, GURL(), string16(),
2584 webkit_glue::CreateHistoryStateForURL(url0), 2584 webkit_glue::CreateHistoryStateForURL(url0),
2585 content::PAGE_TRANSITION_LINK); 2585 content::PAGE_TRANSITION_LINK);
2586 session_helper_.AssertNavigationEquals(nav, 2586 session_helper_.AssertNavigationEquals(nav,
2587 windows_[0]->tabs[0]->navigations[0]); 2587 windows_[0]->tabs[0]->navigations[0]);
2588 nav.set_url(url2); 2588 nav.set_url(url2);
2589 session_helper_.AssertNavigationEquals(nav, 2589 session_helper_.AssertNavigationEquals(nav,
2590 windows_[0]->tabs[0]->navigations[1]); 2590 windows_[0]->tabs[0]->navigations[1]);
2591 } 2591 }
2592 */ 2592 */
OLDNEW
« no previous file with comments | « content/browser/tab_contents/web_contents_view_mac_unittest.mm ('k') | content/browser/web_contents/popup_menu_helper_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698