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

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

Issue 17389005: [Android] Abandon bundling DevTools frontends for mobile apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2013 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 CONTENT_PUBLIC_BROWSER_DEVTOOLS_REMOTE_FRONTEND_UTIL_H_
6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_REMOTE_FRONTEND_UTIL_H_
7
8 #include <string>
9
10 #include "content/common/content_export.h"
11
12 class GURL;
13
14 namespace content {
15
16 // Returns the URL for a DevTools resource with the given |path|
17 CONTENT_EXPORT std::string GetDevToolsFrontendResourceURL(
pfeldman 2013/06/18 17:20:01 It sounds like both: consumers and providers for t
18 const std::string& path);
19
20 // Returns the URL of the DevTools frontend main page (devtools.html)
21 CONTENT_EXPORT std::string GetDevToolsFrontendMainResourceURL();
22
23 // Checks, if |url| points to DevTools frontend cloud host
24 CONTENT_EXPORT bool IsDevToolsFrontendHost(const GURL& url);
25
26 // Creates a socket name for DevTools backend on a mobile device with
27 // the given |prefix|
28 CONTENT_EXPORT std::string GetDevToolsServerSocketName(
29 const std::string& prefix);
30
31 // Returns the common suffix for DevTools backend socket names
32 CONTENT_EXPORT std::string GetDevToolsServerSocketSuffix();
33
34 } // namespace content
35
36 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_REMOTE_FRONTEND_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698