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

Side by Side Diff: components/devtools_remote_frontend/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: Rebased 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 COMPONENTS_DEVTOOLS_REMOTE_FRONTEND_DEVTOOLS_REMOTE_FRONTEND_UTIL_H_
6 #define COMPONENTS_DEVTOOLS_REMOTE_FRONTEND_DEVTOOLS_REMOTE_FRONTEND_UTIL_H_
7
8 #include <string>
9
10 class GURL;
11
12 namespace devtools_remote_frontend {
13
14 // Returns the URL for a DevTools resource with the given |path|
15 std::string GetDevToolsFrontendResourceURL(const std::string& path);
16
17 // Returns the URL of the DevTools frontend main page (devtools.html)
18 std::string GetDevToolsFrontendMainResourceURL();
19
20 // Checks, if |url| points to DevTools frontend cloud host
21 bool IsDevToolsFrontendHost(const GURL& url);
22
23 // Creates a socket name for DevTools backend on a mobile device with
24 // the given |prefix|
25 std::string GetDevToolsServerSocketName(const std::string& prefix);
26
27 // Returns the common suffix for DevTools backend socket names
28 std::string GetDevToolsServerSocketSuffix();
29
30 } // namespace devtools_remote_frontend
31
32 #endif // COMPONENTS_DEVTOOLS_REMOTE_FRONTEND_DEVTOOLS_REMOTE_FRONTEND_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698