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

Side by Side Diff: headless/app/headless_shell_switches.cc

Issue 1920773003: headless: Make it possible to override the DevTools server address (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Stricter hostname validation Created 4 years, 8 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
« no previous file with comments | « headless/app/headless_shell_switches.h ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "headless/app/headless_shell_switches.h" 5 #include "headless/app/headless_shell_switches.h"
6 6
7 namespace headless { 7 namespace headless {
8 namespace switches { 8 namespace switches {
9 9
10 // Uses a specified proxy server, overrides system settings. This switch only 10 // Uses a specified proxy server, overrides system settings. This switch only
11 // affects HTTP and HTTPS requests. 11 // affects HTTP and HTTPS requests.
12 const char kProxyServer[] = "proxy-server"; 12 const char kProxyServer[] = "proxy-server";
13 13
14 // Use the given address instead of the default loopback for accepting remote
15 // debugging connections. Should be used together with --remote-debugging-port.
16 // Note that the remote debugging protocol does not perform any authentication,
17 // so exposing it too widely can be a security risk.
18 const char kRemoteDebuggingAddress[] = "remote-debugging-address";
19
14 } // namespace switches 20 } // namespace switches
15 } // namespace headless 21 } // namespace headless
OLDNEW
« no previous file with comments | « headless/app/headless_shell_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698