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

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: 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 "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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698