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

Side by Side Diff: chromecast/browser/devtools/cast_dev_tools_delegate.h

Issue 2295623002: DevTools: simplify http handler delegate as it is moving into content. (Closed)
Patch Set: lcean 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROMECAST_BROWSER_DEVTOOLS_CAST_DEV_TOOLS_DELEGATE_H_ 5 #ifndef CHROMECAST_BROWSER_DEVTOOLS_CAST_DEV_TOOLS_DELEGATE_H_
6 #define CHROMECAST_BROWSER_DEVTOOLS_CAST_DEV_TOOLS_DELEGATE_H_ 6 #define CHROMECAST_BROWSER_DEVTOOLS_CAST_DEV_TOOLS_DELEGATE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/devtools_http_handler/devtools_http_handler_delegate.h" 9 #include "components/devtools_http_handler/devtools_http_handler_delegate.h"
10 10
11 namespace chromecast { 11 namespace chromecast {
12 namespace shell { 12 namespace shell {
13 13
14 class CastDevToolsDelegate : 14 class CastDevToolsDelegate :
15 public devtools_http_handler::DevToolsHttpHandlerDelegate { 15 public devtools_http_handler::DevToolsHttpHandlerDelegate {
16 public: 16 public:
17 CastDevToolsDelegate(); 17 CastDevToolsDelegate();
18 ~CastDevToolsDelegate() override; 18 ~CastDevToolsDelegate() override;
19 19
20 // devtools_http_handler::DevToolsHttpHandlerDelegate implementation. 20 // devtools_http_handler::DevToolsHttpHandlerDelegate implementation.
21 std::string GetDiscoveryPageHTML() override; 21 std::string GetDiscoveryPageHTML() override;
22 std::string GetFrontendResource(const std::string& path) override; 22 std::string GetFrontendResource(const std::string& path) override;
23 std::string GetPageThumbnailData(const GURL& url) override;
24 content::DevToolsExternalAgentProxyDelegate*
25 HandleWebSocketConnection(const std::string& path) override;
26 23
27 private: 24 private:
28 DISALLOW_COPY_AND_ASSIGN(CastDevToolsDelegate); 25 DISALLOW_COPY_AND_ASSIGN(CastDevToolsDelegate);
29 }; 26 };
30 27
31 } // namespace shell 28 } // namespace shell
32 } // namespace chromecast 29 } // namespace chromecast
33 30
34 #endif // CHROMECAST_BROWSER_DEVTOOLS_CAST_DEV_TOOLS_DELEGATE_H_ 31 #endif // CHROMECAST_BROWSER_DEVTOOLS_CAST_DEV_TOOLS_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/test/data/devtools/target_list/background.js ('k') | chromecast/browser/devtools/cast_dev_tools_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698