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

Unified Diff: chrome/browser/devtools/devtools_ui_bindings.h

Issue 2653783003: Fix front-end host creation upon navigation (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « chrome/browser/devtools/BUILD.gn ('k') | chrome/browser/devtools/devtools_ui_bindings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/devtools/devtools_ui_bindings.h
diff --git a/chrome/browser/devtools/devtools_ui_bindings.h b/chrome/browser/devtools/devtools_ui_bindings.h
index 22939c4de8cd84c3090b953ad522cbd30c098eee..ba71f14694671461ae9969b11933af48b4ff430b 100644
--- a/chrome/browser/devtools/devtools_ui_bindings.h
+++ b/chrome/browser/devtools/devtools_ui_bindings.h
@@ -29,7 +29,7 @@ class Profile;
class PortForwardingStatusSerializer;
namespace content {
-struct FileChooserParams;
+class NavigationHandle;
class WebContents;
}
@@ -43,6 +43,9 @@ class DevToolsUIBindings : public DevToolsEmbedderMessageDispatcher::Delegate,
static DevToolsUIBindings* ForWebContents(
content::WebContents* web_contents);
+ static GURL SanitizeFrontendURL(const GURL& url);
+ static bool IsValidFrontendURL(const GURL& url);
+
class Delegate {
public:
virtual ~Delegate() {}
@@ -199,6 +202,7 @@ class DevToolsUIBindings : public DevToolsEmbedderMessageDispatcher::Delegate,
typedef base::Callback<void(bool)> InfoBarCallback;
void ShowDevToolsConfirmInfoBar(const base::string16& message,
const InfoBarCallback& callback);
+ void UpdateFrontendHost(content::NavigationHandle* navigation_handle);
// Extensions support.
void AddDevToolsExtensionsToClient();
« no previous file with comments | « chrome/browser/devtools/BUILD.gn ('k') | chrome/browser/devtools/devtools_ui_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698