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(); |