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

Side by Side Diff: chrome/browser/tab_contents/navigation_controller_unittest.cc

Issue 155071: Do some refactoring of renderer_host.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/path_service.h" 6 #include "base/path_service.h"
7 #include "base/stl_util-inl.h" 7 #include "base/stl_util-inl.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "chrome/browser/profile_manager.h" 9 #include "chrome/browser/profile_manager.h"
10 #include "chrome/browser/history/history.h" 10 #include "chrome/browser/history/history.h"
11 #include "chrome/browser/renderer_host/test_render_view_host.h" 11 #include "chrome/browser/renderer_host/test/test_render_view_host.h"
12 #include "chrome/browser/sessions/session_service.h" 12 #include "chrome/browser/sessions/session_service.h"
13 #include "chrome/browser/sessions/session_service_test_helper.h" 13 #include "chrome/browser/sessions/session_service_test_helper.h"
14 #include "chrome/browser/sessions/session_types.h" 14 #include "chrome/browser/sessions/session_types.h"
15 #include "chrome/browser/tab_contents/navigation_controller.h" 15 #include "chrome/browser/tab_contents/navigation_controller.h"
16 #include "chrome/browser/tab_contents/navigation_entry.h" 16 #include "chrome/browser/tab_contents/navigation_entry.h"
17 #include "chrome/browser/tab_contents/tab_contents.h" 17 #include "chrome/browser/tab_contents/tab_contents.h"
18 #include "chrome/browser/tab_contents/tab_contents_delegate.h" 18 #include "chrome/browser/tab_contents/tab_contents_delegate.h"
19 #include "chrome/common/notification_registrar.h" 19 #include "chrome/common/notification_registrar.h"
20 #include "chrome/common/notification_service.h" 20 #include "chrome/common/notification_service.h"
21 #include "chrome/common/render_messages.h" 21 #include "chrome/common/render_messages.h"
(...skipping 1445 matching lines...) Expand 10 before | Expand all | Expand 10 after
1467 TabNavigation nav(0, url0, GURL(), string16(), 1467 TabNavigation nav(0, url0, GURL(), string16(),
1468 webkit_glue::CreateHistoryStateForURL(url0), 1468 webkit_glue::CreateHistoryStateForURL(url0),
1469 PageTransition::LINK); 1469 PageTransition::LINK);
1470 session_helper_.AssertNavigationEquals(nav, 1470 session_helper_.AssertNavigationEquals(nav,
1471 windows_[0]->tabs[0]->navigations[0]); 1471 windows_[0]->tabs[0]->navigations[0]);
1472 nav.set_url(url2); 1472 nav.set_url(url2);
1473 session_helper_.AssertNavigationEquals(nav, 1473 session_helper_.AssertNavigationEquals(nav,
1474 windows_[0]->tabs[0]->navigations[1]); 1474 windows_[0]->tabs[0]->navigations[1]);
1475 } 1475 }
1476 */ 1476 */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698