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_BROWSER_DEVTOOLS_CAST_DEV_TOOLS_DELEGATE_H_ | |
6 #define CHROMECAST_BROWSER_DEVTOOLS_CAST_DEV_TOOLS_DELEGATE_H_ | |
7 | |
8 #include "base/macros.h" | |
9 #include "components/devtools_http_handler/devtools_http_handler_delegate.h" | |
10 | |
11 namespace chromecast { | |
12 namespace shell { | |
13 | |
14 class CastDevToolsDelegate : | |
15 public devtools_http_handler::DevToolsHttpHandlerDelegate { | |
16 public: | |
17 CastDevToolsDelegate(); | |
18 ~CastDevToolsDelegate() override; | |
19 | |
20 // devtools_http_handler::DevToolsHttpHandlerDelegate implementation. | |
21 std::string GetDiscoveryPageHTML() override; | |
22 std::string GetFrontendResource(const std::string& path) override; | |
23 | |
24 private: | |
25 DISALLOW_COPY_AND_ASSIGN(CastDevToolsDelegate); | |
26 }; | |
27 | |
28 } // namespace shell | |
29 } // namespace chromecast | |
30 | |
31 #endif // CHROMECAST_BROWSER_DEVTOOLS_CAST_DEV_TOOLS_DELEGATE_H_ | |
OLD | NEW |