Index: chromecast/shell/browser/devtools/cast_dev_tools_delegate.h |
diff --git a/chromecast/shell/browser/devtools/cast_dev_tools_delegate.h b/chromecast/shell/browser/devtools/cast_dev_tools_delegate.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c4dd7b760bfe344d89bddc0ea4fee55d5266bafe |
--- /dev/null |
+++ b/chromecast/shell/browser/devtools/cast_dev_tools_delegate.h |
@@ -0,0 +1,43 @@ |
+// 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_SHELL_BROWSER_DEVTOOLS_CAST_DEV_TOOLS_DELEGATE_H_ |
+#define CHROMECAST_SHELL_BROWSER_DEVTOOLS_CAST_DEV_TOOLS_DELEGATE_H_ |
+ |
+#include "base/prefs/pref_member.h" |
lcwu1
2014/08/14 14:55:53
This include doesn't appear to be used.
gunsch
2014/08/14 16:26:43
Done.
|
+#include "content/public/browser/devtools_http_handler_delegate.h" |
+#include "net/socket/stream_listen_socket.h" |
+ |
+namespace base { |
+class FilePath; |
+} |
+ |
+namespace chromecast { |
+namespace shell { |
+ |
+class CastDevToolsDelegate : public content::DevToolsHttpHandlerDelegate { |
+ public: |
+ CastDevToolsDelegate(); |
+ virtual ~CastDevToolsDelegate(); |
+ |
+ // DevToolsHttpHandlerDelegate implementation. |
+ virtual std::string GetDiscoveryPageHTML() OVERRIDE; |
+ virtual bool BundlesFrontendResources() OVERRIDE; |
+ virtual base::FilePath GetDebugFrontendDir() OVERRIDE; |
+ virtual std::string GetPageThumbnailData(const GURL& url) OVERRIDE; |
+ virtual scoped_ptr<content::DevToolsTarget> CreateNewTarget( |
+ const GURL& url) OVERRIDE; |
+ virtual void EnumerateTargets(TargetCallback callback) OVERRIDE; |
+ virtual scoped_ptr<net::StreamListenSocket> CreateSocketForTethering( |
+ net::StreamListenSocket::Delegate* delegate, |
+ std::string* name) OVERRIDE; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(CastDevToolsDelegate); |
+}; |
+ |
+} // namespace shell |
+} // namespace chromecast |
+ |
+#endif // CHROMECAST_SHELL_BROWSER_DEVTOOLS_CAST_DEV_TOOLS_DELEGATE_H_ |