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

Unified Diff: content/public/browser/devtools_manager_delegate.h

Issue 2300703005: DevTools: merge devtools_http_handler into content - it is used in all the embedders anyways. (Closed)
Patch Set: for review Created 4 years, 3 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/public/browser/devtools_manager_delegate.h
diff --git a/content/public/browser/devtools_manager_delegate.h b/content/public/browser/devtools_manager_delegate.h
index 67c00260569e91e64ec8c1a87b3f3c243fcda4fc..c187a56070554d41d2a134a893b42167a6eb175f 100644
--- a/content/public/browser/devtools_manager_delegate.h
+++ b/content/public/browser/devtools_manager_delegate.h
@@ -42,6 +42,13 @@ class DevToolsManagerDelegate {
virtual base::DictionaryValue* HandleCommand(
DevToolsAgentHost* agent_host,
base::DictionaryValue* command) = 0;
+
+ // Should return discovery page HTML that should list available tabs
+ // and provide attach links.
+ virtual std::string GetDiscoveryPageHTML() = 0;
+
+ // Returns frontend resource data by |path|.
+ virtual std::string GetFrontendResource(const std::string& path) = 0;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698