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

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

Issue 2620153002: 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
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 35106293532be0251ab1221d54724ef957da2c47..e1ca57305bab039ec7b01eebe34fcac8192d5c37 100644
--- a/chrome/browser/devtools/devtools_ui_bindings.h
+++ b/chrome/browser/devtools/devtools_ui_bindings.h
@@ -43,6 +43,7 @@ class DevToolsUIBindings : public DevToolsEmbedderMessageDispatcher::Delegate,
content::WebContents* web_contents);
static GURL SanitizeFrontendURL(const GURL& url);
+ static bool IsValidFrontendURL(const GURL& url);
class Delegate {
public:
@@ -200,7 +201,7 @@ class DevToolsUIBindings : public DevToolsEmbedderMessageDispatcher::Delegate,
typedef base::Callback<void(bool)> InfoBarCallback;
void ShowDevToolsConfirmInfoBar(const base::string16& message,
const InfoBarCallback& callback);
- void UpdateFrontendHost();
+ void UpdateFrontendHost(const GURL& url);
// Extensions support.
void AddDevToolsExtensionsToClient();
« no previous file with comments | « no previous file | chrome/browser/devtools/devtools_ui_bindings.cc » ('j') | chrome/browser/devtools/devtools_ui_bindings.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698