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

Unified Diff: content/browser/site_per_process_browsertest.h

Issue 1663013005: [DO NOT REVIEW] Always calling Notify for android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Trying to Fix MAC Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/site_per_process_browsertest.h
diff --git a/content/browser/site_per_process_browsertest.h b/content/browser/site_per_process_browsertest.h
index 16db097ed49ecb0bee58f427169f791f31003ef5..5753e19a8a8c8d9627996774cb66b12ab3d8e4db 100644
--- a/content/browser/site_per_process_browsertest.h
+++ b/content/browser/site_per_process_browsertest.h
@@ -7,14 +7,15 @@
#include <string>
+#include "content/browser/web_contents/web_contents_impl.h"
#include "content/public/test/content_browser_test.h"
+#include "content/shell/browser/shell.h"
#include "content/test/content_browser_test_utils_internal.h"
#include "url/gurl.h"
namespace content {
class FrameTreeNode;
-class Shell;
class SitePerProcessBrowserTest : public ContentBrowserTest {
public:
@@ -26,6 +27,10 @@ class SitePerProcessBrowserTest : public ContentBrowserTest {
void SetUpCommandLine(base::CommandLine* command_line) override;
void SetUpOnMainThread() override;
+ WebContentsImpl* web_contents() {
+ return static_cast<WebContentsImpl*>(shell()->web_contents());
+ }
+
private:
FrameTreeVisualizer visualizer_;
};
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mus.cc ('k') | content/browser/site_per_process_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698