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

Unified Diff: content/browser/webui/web_ui_impl.h

Issue 2002633002: PlzNavigate: fix issue preventing navigations to WebUIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Now checking when ready to commit Created 4 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/webui/web_ui_impl.h
diff --git a/content/browser/webui/web_ui_impl.h b/content/browser/webui/web_ui_impl.h
index 268c7576e80e1bb3ee9ce5b38853f5035fbb986e..d85088014169c2bea6922cf243989ffa44c05375 100644
--- a/content/browser/webui/web_ui_impl.h
+++ b/content/browser/webui/web_ui_impl.h
@@ -18,12 +18,15 @@
namespace content {
class RenderFrameHost;
+class RenderProcessHost;
class RenderViewHost;
class CONTENT_EXPORT WebUIImpl : public WebUI,
public IPC::Listener,
public base::SupportsWeakPtr<WebUIImpl> {
public:
+ static bool RenderProcessAllowedForURL(RenderProcessHost* process,
+ const GURL& url);
Charlie Reis 2016/05/25 21:38:02 nit: Wrong indent, add blank line after, and pleas
WebUIImpl(WebContents* contents, const std::string& frame_name);
~WebUIImpl() override;

Powered by Google App Engine
This is Rietveld 408576698