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

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

Issue 2607833002: DevTools: move front-end URL handling to DevToolsUIBindingds (Closed)
Patch Set: review comments addressed Created 4 years 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 fd302d75d8dd57f282a11b35058412c389ed31fb..35106293532be0251ab1221d54724ef957da2c47 100644
--- a/chrome/browser/devtools/devtools_ui_bindings.h
+++ b/chrome/browser/devtools/devtools_ui_bindings.h
@@ -42,6 +42,8 @@ class DevToolsUIBindings : public DevToolsEmbedderMessageDispatcher::Delegate,
static DevToolsUIBindings* ForWebContents(
content::WebContents* web_contents);
+ static GURL SanitizeFrontendURL(const GURL& url);
+
class Delegate {
public:
virtual ~Delegate() {}
@@ -198,6 +200,7 @@ class DevToolsUIBindings : public DevToolsEmbedderMessageDispatcher::Delegate,
typedef base::Callback<void(bool)> InfoBarCallback;
void ShowDevToolsConfirmInfoBar(const base::string16& message,
const InfoBarCallback& callback);
+ void UpdateFrontendHost();
// 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