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

Unified Diff: chromecast/browser/devtools/cast_devtools_delegate.cc

Issue 2300703005: DevTools: merge devtools_http_handler into content - it is used in all the embedders anyways. (Closed)
Patch Set: for_landing! 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: chromecast/browser/devtools/cast_devtools_delegate.cc
diff --git a/chromecast/browser/devtools/cast_dev_tools_delegate.cc b/chromecast/browser/devtools/cast_devtools_delegate.cc
similarity index 70%
rename from chromecast/browser/devtools/cast_dev_tools_delegate.cc
rename to chromecast/browser/devtools/cast_devtools_delegate.cc
index 0e80eb55832b1288966797cde797dc553b6894c8..dd07cbafb3a88be9e52d9341f43eeea032b1f233 100644
--- a/chromecast/browser/devtools/cast_dev_tools_delegate.cc
+++ b/chromecast/browser/devtools/cast_devtools_delegate.cc
@@ -2,16 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chromecast/browser/devtools/cast_dev_tools_delegate.h"
+#include "chromecast/browser/devtools/cast_devtools_delegate.h"
#include "base/macros.h"
#include "build/build_config.h"
+#include "content/public/browser/devtools_agent_host.h"
#include "grit/shell_resources.h"
#include "ui/base/resource/resource_bundle.h"
namespace chromecast {
namespace shell {
+using content::DevToolsAgentHost;
+using content::RenderFrameHost;
+
// CastDevToolsDelegate -----------------------------------------------------
CastDevToolsDelegate::CastDevToolsDelegate() {
@@ -20,6 +24,13 @@ CastDevToolsDelegate::CastDevToolsDelegate() {
CastDevToolsDelegate::~CastDevToolsDelegate() {
}
+void CastDevToolsDelegate::Inspect(DevToolsAgentHost* agent_host) {
+}
+
+void CastDevToolsDelegate::DevToolsAgentStateChanged(
+ DevToolsAgentHost* agent_host, bool attached) {
+}
+
std::string CastDevToolsDelegate::GetDiscoveryPageHTML() {
#if defined(OS_ANDROID)
return std::string();
@@ -29,10 +40,5 @@ std::string CastDevToolsDelegate::GetDiscoveryPageHTML() {
#endif // defined(OS_ANDROID)
}
-std::string CastDevToolsDelegate::GetFrontendResource(
- const std::string& path) {
- return std::string();
-}
-
} // namespace shell
} // namespace chromecast
« no previous file with comments | « chromecast/browser/devtools/cast_devtools_delegate.h ('k') | chromecast/browser/devtools/remote_debugging_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698