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_ |