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

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

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.h
diff --git a/chromecast/browser/devtools/cast_devtools_delegate.h b/chromecast/browser/devtools/cast_devtools_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..68febbc8ca801ff7eaa9859b78e3cdd4c2609498
--- /dev/null
+++ b/chromecast/browser/devtools/cast_devtools_delegate.h
@@ -0,0 +1,37 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROMECAST_BROWSER_DEVTOOLS_CAST_DEVTOOLS_DELEGATE_H_
+#define CHROMECAST_BROWSER_DEVTOOLS_CAST_DEVTOOLS_DELEGATE_H_
+
+#include "base/macros.h"
+#include "content/public/browser/devtools_manager_delegate.h"
+
+namespace content {
+class DevToolsAgentHost;
+}
+
+namespace chromecast {
+namespace shell {
+
+class CastDevToolsDelegate :
+ public content::DevToolsManagerDelegate {
+ public:
+ CastDevToolsDelegate();
+ ~CastDevToolsDelegate() override;
+
+ // content::DevToolsManagerDelegate implementation.
+ void Inspect(content::DevToolsAgentHost* agent_host) override;
+ void DevToolsAgentStateChanged(content::DevToolsAgentHost* agent_host,
+ bool attached) override;
+ std::string GetDiscoveryPageHTML() override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(CastDevToolsDelegate);
+};
+
+} // namespace shell
+} // namespace chromecast
+
+#endif // CHROMECAST_BROWSER_DEVTOOLS_CAST_DEVTOOLS_DELEGATE_H_
« no previous file with comments | « chromecast/browser/devtools/cast_dev_tools_delegate.cc ('k') | chromecast/browser/devtools/cast_devtools_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698