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

Side by Side Diff: content/browser/renderer_host/render_process_host_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 "content/common/child_process_messages.h" 5 #include "content/common/child_process_messages.h"
6 #include "content/public/browser/notification_types.h" 6 #include "content/public/browser/notification_types.h"
7 #include "content/public/browser/render_process_host.h" 7 #include "content/public/browser/render_process_host.h"
8 #include "content/public/browser/render_view_host.h" 8 #include "content/public/browser/render_view_host.h"
9 #include "content/public/browser/web_contents.h" 9 #include "content/public/browser/web_contents.h"
10 #include "content/public/test/test_notification_tracker.h" 10 #include "content/public/test/test_notification_tracker.h"
11 #include "content/shell/shell.h" 11 #include "content/shell/browser/shell.h"
12 #include "content/test/content_browser_test.h" 12 #include "content/test/content_browser_test.h"
13 #include "content/test/content_browser_test_utils.h" 13 #include "content/test/content_browser_test_utils.h"
14 #include "net/test/embedded_test_server/embedded_test_server.h" 14 #include "net/test/embedded_test_server/embedded_test_server.h"
15 15
16 namespace content { 16 namespace content {
17 namespace { 17 namespace {
18 18
19 class RenderProcessHostTest : public ContentBrowserTest {}; 19 class RenderProcessHostTest : public ContentBrowserTest {};
20 20
21 // Sometimes the renderer process's ShutdownRequest (corresponding to the 21 // Sometimes the renderer process's ShutdownRequest (corresponding to the
(...skipping 19 matching lines...) Expand all
41 // If the RPH sends a mistaken ChildProcessMsg_Shutdown, the renderer process 41 // If the RPH sends a mistaken ChildProcessMsg_Shutdown, the renderer process
42 // will take some time to die. Wait for a second tab to load in order to give 42 // will take some time to die. Wait for a second tab to load in order to give
43 // that time to happen. 43 // that time to happen.
44 NavigateToURL(CreateBrowser(), test_url); 44 NavigateToURL(CreateBrowser(), test_url);
45 45
46 EXPECT_EQ(0U, termination_watcher.size()); 46 EXPECT_EQ(0U, termination_watcher.size());
47 } 47 }
48 48
49 } // namespace 49 } // namespace
50 } // namespace content 50 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/plugin_service_impl_browsertest.cc ('k') | content/browser/renderer_host/render_view_host_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698