Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROMECAST_SHELL_BROWSER_DEVTOOLS_CAST_DEV_TOOLS_DELEGATE_H_ | |
| 6 #define CHROMECAST_SHELL_BROWSER_DEVTOOLS_CAST_DEV_TOOLS_DELEGATE_H_ | |
| 7 | |
| 8 #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.
| |
| 9 #include "content/public/browser/devtools_http_handler_delegate.h" | |
| 10 #include "net/socket/stream_listen_socket.h" | |
| 11 | |
| 12 namespace base { | |
| 13 class FilePath; | |
| 14 } | |
| 15 | |
| 16 namespace chromecast { | |
| 17 namespace shell { | |
| 18 | |
| 19 class CastDevToolsDelegate : public content::DevToolsHttpHandlerDelegate { | |
| 20 public: | |
| 21 CastDevToolsDelegate(); | |
| 22 virtual ~CastDevToolsDelegate(); | |
| 23 | |
| 24 // DevToolsHttpHandlerDelegate implementation. | |
| 25 virtual std::string GetDiscoveryPageHTML() OVERRIDE; | |
| 26 virtual bool BundlesFrontendResources() OVERRIDE; | |
| 27 virtual base::FilePath GetDebugFrontendDir() OVERRIDE; | |
| 28 virtual std::string GetPageThumbnailData(const GURL& url) OVERRIDE; | |
| 29 virtual scoped_ptr<content::DevToolsTarget> CreateNewTarget( | |
| 30 const GURL& url) OVERRIDE; | |
| 31 virtual void EnumerateTargets(TargetCallback callback) OVERRIDE; | |
| 32 virtual scoped_ptr<net::StreamListenSocket> CreateSocketForTethering( | |
| 33 net::StreamListenSocket::Delegate* delegate, | |
| 34 std::string* name) OVERRIDE; | |
| 35 | |
| 36 private: | |
| 37 DISALLOW_COPY_AND_ASSIGN(CastDevToolsDelegate); | |
| 38 }; | |
| 39 | |
| 40 } // namespace shell | |
| 41 } // namespace chromecast | |
| 42 | |
| 43 #endif // CHROMECAST_SHELL_BROWSER_DEVTOOLS_CAST_DEV_TOOLS_DELEGATE_H_ | |
| OLD | NEW |