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

Side by Side Diff: content/browser/renderer_host/render_process_host_browsertest.cc

Issue 7054008: Remove history dependency from content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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) 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/command_line.h" 5 #include "base/command_line.h"
6 #include "chrome/browser/debugger/devtools_manager.h" 6 #include "chrome/browser/debugger/devtools_manager.h"
7 #include "chrome/browser/ui/browser.h" 7 #include "chrome/browser/ui/browser.h"
8 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
9 #include "chrome/common/chrome_switches.h" 8 #include "chrome/common/chrome_switches.h"
10 #include "chrome/common/url_constants.h" 9 #include "chrome/common/url_constants.h"
11 #include "chrome/test/in_process_browser_test.h" 10 #include "chrome/test/in_process_browser_test.h"
12 #include "chrome/test/ui_test_utils.h" 11 #include "chrome/test/ui_test_utils.h"
13 #include "content/browser/renderer_host/render_process_host.h" 12 #include "content/browser/renderer_host/render_process_host.h"
14 #include "content/browser/renderer_host/render_view_host.h" 13 #include "content/browser/renderer_host/render_view_host.h"
15 #include "content/browser/renderer_host/render_widget_host.h" 14 #include "content/browser/renderer_host/render_widget_host.h"
16 #include "content/browser/site_instance.h" 15 #include "content/browser/site_instance.h"
17 #include "content/browser/tab_contents/tab_contents.h" 16 #include "content/browser/tab_contents/tab_contents.h"
18 17
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 tab_count++; 253 tab_count++;
255 host_count++; 254 host_count++;
256 EXPECT_EQ(tab_count, browser()->tab_count()); 255 EXPECT_EQ(tab_count, browser()->tab_count());
257 tab1 = browser()->GetTabContentsAt(tab_count - 1); 256 tab1 = browser()->GetTabContentsAt(tab_count - 1);
258 rph3 = tab1->GetRenderProcessHost(); 257 rph3 = tab1->GetRenderProcessHost();
259 EXPECT_EQ(tab1->GetURL(), bookmarks); 258 EXPECT_EQ(tab1->GetURL(), bookmarks);
260 EXPECT_EQ(host_count, RenderProcessHostCount()); 259 EXPECT_EQ(host_count, RenderProcessHostCount());
261 EXPECT_NE(rph1, rph3); 260 EXPECT_NE(rph1, rph3);
262 EXPECT_NE(rph2, rph3); 261 EXPECT_NE(rph2, rph3);
263 } 262 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698