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

Side by Side Diff: content/public/browser/devtools_http_handler_delegate.h

Issue 46523002: Fix Telemetry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_PUBLIC_BROWSER_DEVTOOLS_HTTP_HANDLER_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_HTTP_HANDLER_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_HTTP_HANDLER_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_HTTP_HANDLER_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 19 matching lines...) Expand all
30 virtual bool BundlesFrontendResources() = 0; 30 virtual bool BundlesFrontendResources() = 0;
31 31
32 // Returns path to the front-end files on the local filesystem for debugging. 32 // Returns path to the front-end files on the local filesystem for debugging.
33 virtual base::FilePath GetDebugFrontendDir() = 0; 33 virtual base::FilePath GetDebugFrontendDir() = 0;
34 34
35 // Get a thumbnail for a given page. Returns non-empty string iff we have the 35 // Get a thumbnail for a given page. Returns non-empty string iff we have the
36 // thumbnail. 36 // thumbnail.
37 virtual std::string GetPageThumbnailData(const GURL& url) = 0; 37 virtual std::string GetPageThumbnailData(const GURL& url) = 0;
38 38
39 // Creates new inspectable target. 39 // Creates new inspectable target.
40 virtual scoped_ptr<DevToolsTarget> CreateNewTarget(const GURL& url) = 0; 40 virtual scoped_ptr<DevToolsTarget> CreateNewTarget() = 0;
41 41
42 typedef std::vector<DevToolsTarget*> TargetList; 42 typedef std::vector<DevToolsTarget*> TargetList;
43 typedef base::Callback<void(const TargetList&)> TargetCallback; 43 typedef base::Callback<void(const TargetList&)> TargetCallback;
44 44
45 // Requests the list of all inspectable targets. 45 // Requests the list of all inspectable targets.
46 // The caller gets the ownership of the returned targets. 46 // The caller gets the ownership of the returned targets.
47 virtual void EnumerateTargets(TargetCallback callback) = 0; 47 virtual void EnumerateTargets(TargetCallback callback) = 0;
48 48
49 // Creates named socket for reversed tethering implementation (used with 49 // Creates named socket for reversed tethering implementation (used with
50 // remote debugging, primarily for mobile). 50 // remote debugging, primarily for mobile).
51 virtual scoped_ptr<net::StreamListenSocket> CreateSocketForTethering( 51 virtual scoped_ptr<net::StreamListenSocket> CreateSocketForTethering(
52 net::StreamListenSocket::Delegate* delegate, 52 net::StreamListenSocket::Delegate* delegate,
53 std::string* name) = 0; 53 std::string* name) = 0;
54 }; 54 };
55 55
56 } // namespace content 56 } // namespace content
57 57
58 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_HTTP_HANDLER_DELEGATE_H_ 58 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_HTTP_HANDLER_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/devtools/devtools_http_handler_unittest.cc ('k') | content/shell/browser/shell_devtools_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698