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

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

Issue 454063004: Adds remote devtools support to cast_shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 4 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
(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 "content/public/browser/devtools_http_handler_delegate.h"
9 #include "net/socket/stream_listen_socket.h"
10
11 namespace base {
12 class FilePath;
13 }
14
15 namespace chromecast {
16 namespace shell {
17
18 class CastDevToolsDelegate : public content::DevToolsHttpHandlerDelegate {
19 public:
20 CastDevToolsDelegate();
21 virtual ~CastDevToolsDelegate();
22
23 // DevToolsHttpHandlerDelegate implementation.
24 virtual std::string GetDiscoveryPageHTML() OVERRIDE;
25 virtual bool BundlesFrontendResources() OVERRIDE;
26 virtual base::FilePath GetDebugFrontendDir() OVERRIDE;
27 virtual std::string GetPageThumbnailData(const GURL& url) OVERRIDE;
28 virtual scoped_ptr<content::DevToolsTarget> CreateNewTarget(
29 const GURL& url) OVERRIDE;
30 virtual void EnumerateTargets(TargetCallback callback) OVERRIDE;
31 virtual scoped_ptr<net::StreamListenSocket> CreateSocketForTethering(
32 net::StreamListenSocket::Delegate* delegate,
33 std::string* name) OVERRIDE;
34
35 private:
36 DISALLOW_COPY_AND_ASSIGN(CastDevToolsDelegate);
37 };
38
39 } // namespace shell
40 } // namespace chromecast
41
42 #endif // CHROMECAST_SHELL_BROWSER_DEVTOOLS_CAST_DEV_TOOLS_DELEGATE_H_
OLDNEW
« no previous file with comments | « chromecast/shell/browser/cast_browser_main_parts.cc ('k') | chromecast/shell/browser/devtools/cast_dev_tools_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698