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

Side by Side Diff: content/shell/shell_devtools_delegate_android.cc

Issue 10829303: Add --remote-debugging-port back to content_shell since nduca mentioned he wants to use it with And… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « content/shell/shell_devtools_delegate.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "content/shell/shell_devtools_delegate.h" 5 #include "content/shell/shell_devtools_delegate.h"
6 6
7 #include "base/stringprintf.h" 7 #include "base/stringprintf.h"
8 #include "content/public/browser/android/devtools_auth.h" 8 #include "content/public/browser/android/devtools_auth.h"
9 #include "content/public/browser/devtools_http_handler.h" 9 #include "content/public/browser/devtools_http_handler.h"
10 #include "grit/shell_resources.h" 10 #include "grit/shell_resources.h"
(...skipping 10 matching lines...) Expand all
21 const char* kFrontendVersion = "21.0.1175.0"; 21 const char* kFrontendVersion = "21.0.1175.0";
22 const char kSocketName[] = "content_shell_devtools_remote"; 22 const char kSocketName[] = "content_shell_devtools_remote";
23 const char kFrontEndURL[] = 23 const char kFrontEndURL[] =
24 "http://chrome-devtools-frontend.appspot.com/static/%s/devtools.html"; 24 "http://chrome-devtools-frontend.appspot.com/static/%s/devtools.html";
25 25
26 } 26 }
27 27
28 namespace content { 28 namespace content {
29 29
30 ShellDevToolsDelegate::ShellDevToolsDelegate( 30 ShellDevToolsDelegate::ShellDevToolsDelegate(
31 int port,
31 net::URLRequestContextGetter* context_getter) 32 net::URLRequestContextGetter* context_getter)
32 : context_getter_(context_getter) { 33 : context_getter_(context_getter) {
33 devtools_http_handler_ = DevToolsHttpHandler::Start( 34 devtools_http_handler_ = DevToolsHttpHandler::Start(
34 new net::UnixDomainSocketWithAbstractNamespaceFactory( 35 new net::UnixDomainSocketWithAbstractNamespaceFactory(
35 kSocketName, 36 kSocketName,
36 base::Bind(&CanUserConnectToDevTools)), 37 base::Bind(&CanUserConnectToDevTools)),
37 StringPrintf(kFrontEndURL, kFrontendVersion), 38 StringPrintf(kFrontEndURL, kFrontendVersion),
38 context_getter, 39 context_getter,
39 this); 40 this);
40 } 41 }
(...skipping 14 matching lines...) Expand all
55 56
56 bool ShellDevToolsDelegate::BundlesFrontendResources() { 57 bool ShellDevToolsDelegate::BundlesFrontendResources() {
57 return false; 58 return false;
58 } 59 }
59 60
60 std::string ShellDevToolsDelegate::GetFrontendResourcesBaseURL() { 61 std::string ShellDevToolsDelegate::GetFrontendResourcesBaseURL() {
61 return ""; 62 return "";
62 } 63 }
63 64
64 } // namespace content 65 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/shell_devtools_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698