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

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

Issue 5682007: Cleanup: Remove needed #includes for profile.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/profiles/profile.h"
6 #include "chrome/browser/renderer_host/site_instance.h" 5 #include "chrome/browser/renderer_host/site_instance.h"
7 #include "chrome/browser/tab_contents/tab_contents.h" 6 #include "chrome/browser/tab_contents/tab_contents.h"
8 #include "chrome/browser/renderer_host/render_process_host.h" 7 #include "chrome/browser/renderer_host/render_process_host.h"
9 #include "chrome/browser/ui/browser.h" 8 #include "chrome/browser/ui/browser.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 12
14 class RenderProcessHostTest : public InProcessBrowserTest { 13 class RenderProcessHostTest : public InProcessBrowserTest {
15 public: 14 public:
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 tab_count++; 105 tab_count++;
107 host_count++; 106 host_count++;
108 EXPECT_EQ(tab_count, browser()->tab_count()); 107 EXPECT_EQ(tab_count, browser()->tab_count());
109 tab1 = browser()->GetTabContentsAt(tab_count - 1); 108 tab1 = browser()->GetTabContentsAt(tab_count - 1);
110 rph3 = tab1->GetRenderProcessHost(); 109 rph3 = tab1->GetRenderProcessHost();
111 EXPECT_EQ(tab1->GetURL(), bookmarks); 110 EXPECT_EQ(tab1->GetURL(), bookmarks);
112 EXPECT_EQ(host_count, RenderProcessHostCount()); 111 EXPECT_EQ(host_count, RenderProcessHostCount());
113 EXPECT_NE(rph1, rph3); 112 EXPECT_NE(rph1, rph3);
114 EXPECT_NE(rph2, rph3); 113 EXPECT_NE(rph2, rph3);
115 } 114 }
OLDNEW
« no previous file with comments | « chrome/browser/importer/importer_unittest.cc ('k') | chrome/browser/safe_browsing/protocol_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698