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

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

Issue 23316003: [content shell] move browser process stuff into browser/ subdir (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 4 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/values.h" 5 #include "base/values.h"
6 #include "content/browser/renderer_host/render_view_host_impl.h" 6 #include "content/browser/renderer_host/render_view_host_impl.h"
7 #include "content/browser/web_contents/web_contents_impl.h" 7 #include "content/browser/web_contents/web_contents_impl.h"
8 #include "content/public/browser/load_notification_details.h" 8 #include "content/public/browser/load_notification_details.h"
9 #include "content/public/browser/navigation_controller.h" 9 #include "content/public/browser/navigation_controller.h"
10 #include "content/public/browser/notification_details.h" 10 #include "content/public/browser/notification_details.h"
11 #include "content/public/browser/notification_observer.h" 11 #include "content/public/browser/notification_observer.h"
12 #include "content/public/browser/notification_types.h" 12 #include "content/public/browser/notification_types.h"
13 #include "content/public/browser/web_contents_observer.h" 13 #include "content/public/browser/web_contents_observer.h"
14 #include "content/public/common/content_paths.h" 14 #include "content/public/common/content_paths.h"
15 #include "content/public/test/browser_test_utils.h" 15 #include "content/public/test/browser_test_utils.h"
16 #include "content/public/test/test_utils.h" 16 #include "content/public/test/test_utils.h"
17 #include "content/shell/shell.h" 17 #include "content/shell/browser/shell.h"
18 #include "content/test/content_browser_test.h" 18 #include "content/test/content_browser_test.h"
19 #include "content/test/content_browser_test_utils.h" 19 #include "content/test/content_browser_test_utils.h"
20 #include "net/test/embedded_test_server/embedded_test_server.h" 20 #include "net/test/embedded_test_server/embedded_test_server.h"
21 21
22 namespace content { 22 namespace content {
23 23
24 class WebContentsImplBrowserTest : public ContentBrowserTest { 24 class WebContentsImplBrowserTest : public ContentBrowserTest {
25 public: 25 public:
26 WebContentsImplBrowserTest() {} 26 WebContentsImplBrowserTest() {}
27 27
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 // tree in the browser process. 153 // tree in the browser process.
154 NavigateToURL(shell(), embedded_test_server()->GetURL("/title1.html")); 154 NavigateToURL(shell(), embedded_test_server()->GetURL("/title1.html"));
155 155
156 root = wc->GetFrameTreeRootForTesting(); 156 root = wc->GetFrameTreeRootForTesting();
157 EXPECT_EQ(0UL, root->child_count()); 157 EXPECT_EQ(0UL, root->child_count());
158 EXPECT_EQ(std::string(), root->frame_name()); 158 EXPECT_EQ(std::string(), root->frame_name());
159 EXPECT_EQ(rvh->main_frame_id(), root->frame_id()); 159 EXPECT_EQ(rvh->main_frame_id(), root->frame_id());
160 } 160 }
161 161
162 } // namespace content 162 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698