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

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

Issue 7049010: Finish removing url_constants from content/. (Closed) Base URL: svn://svn.chromium.org/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.
jam 2011/05/19 17:21:16 i don't think we want to move the whole test file,
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" 8 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
9 #include "chrome/common/chrome_switches.h" 9 #include "chrome/common/chrome_switches.h"
10 #include "chrome/common/url_constants.h" 10 #include "chrome/common/url_constants.h"
11 #include "chrome/test/in_process_browser_test.h" 11 #include "chrome/test/in_process_browser_test.h"
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 tab_count++; 254 tab_count++;
255 host_count++; 255 host_count++;
256 EXPECT_EQ(tab_count, browser()->tab_count()); 256 EXPECT_EQ(tab_count, browser()->tab_count());
257 tab1 = browser()->GetTabContentsAt(tab_count - 1); 257 tab1 = browser()->GetTabContentsAt(tab_count - 1);
258 rph3 = tab1->GetRenderProcessHost(); 258 rph3 = tab1->GetRenderProcessHost();
259 EXPECT_EQ(tab1->GetURL(), bookmarks); 259 EXPECT_EQ(tab1->GetURL(), bookmarks);
260 EXPECT_EQ(host_count, RenderProcessHostCount()); 260 EXPECT_EQ(host_count, RenderProcessHostCount());
261 EXPECT_NE(rph1, rph3); 261 EXPECT_NE(rph1, rph3);
262 EXPECT_NE(rph2, rph3); 262 EXPECT_NE(rph2, rph3);
263 } 263 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698