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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 115029: Making command-line specified proxy settings more flexible - allowing for set... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 | « chrome/common/chrome_switches.h ('k') | chrome/test/unit/unittests.vcproj » ('j') | 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) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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 "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 226
227 const wchar_t kShowIcons[] = L"show-icons"; 227 const wchar_t kShowIcons[] = L"show-icons";
228 228
229 // Make Chrome default browser 229 // Make Chrome default browser
230 const wchar_t kMakeDefaultBrowser[] = L"make-default-browser"; 230 const wchar_t kMakeDefaultBrowser[] = L"make-default-browser";
231 231
232 // Use a specified proxy server, overrides system settings. This switch only 232 // Use a specified proxy server, overrides system settings. This switch only
233 // affects HTTP and HTTPS requests. 233 // affects HTTP and HTTPS requests.
234 const wchar_t kProxyServer[] = L"proxy-server"; 234 const wchar_t kProxyServer[] = L"proxy-server";
235 235
236 // Don't use a proxy server, always make direct connections. Overrides any
237 // other proxy server flags that are passed.
238 const wchar_t kNoProxyServer[] = L"no-proxy-server";
239
240 // Specify a list of URLs for whom we bypass proxy settings and use direct
241 // connections. Ignored if proxy-server-auto-detect or no-proxy-server are
242 // also specified.
243 // TODO(robertshield): Specify URL format.
244 const wchar_t kProxyServerBypassUrls[] = L"proxy-server-bypass-urls";
245
246 // Force proxy auto-detection.
247 const wchar_t kProxyServerAutoDetect[] = L"proxy-server-auto-detect";
248
249 // Use the pac script at the given URL
250 const wchar_t kProxyServerPacUrl[] = L"proxy-server-pac-url";
251
236 // Use WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is 252 // Use WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is
237 // to use Chromium's network stack to fetch, and V8 to evaluate. 253 // to use Chromium's network stack to fetch, and V8 to evaluate.
238 const wchar_t kWinHttpProxyResolver[] = L"winhttp-proxy-resolver"; 254 const wchar_t kWinHttpProxyResolver[] = L"winhttp-proxy-resolver";
239 255
240 // Chrome will support prefetching of DNS information. Until this becomes 256 // Chrome will support prefetching of DNS information. Until this becomes
241 // the default, we'll provide a command line switch. 257 // the default, we'll provide a command line switch.
242 extern const wchar_t kDnsLogDetails[] = L"dns-log-details"; 258 extern const wchar_t kDnsLogDetails[] = L"dns-log-details";
243 extern const wchar_t kDnsPrefetchDisable[] = L"dns-prefetch-disable"; 259 extern const wchar_t kDnsPrefetchDisable[] = L"dns-prefetch-disable";
244 260
245 // Enables support to debug printing subsystem. 261 // Enables support to debug printing subsystem.
246 const wchar_t kDebugPrint[] = L"debug-print"; 262 const wchar_t kDebugPrint[] = L"debug-print";
247 263
248 // Allow initialization of all activex controls. This is only to help website 264 // Allow initialization of all activex controls. This is only to help website
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 const wchar_t kDisableAudio[] = L"disable-audio"; 443 const wchar_t kDisableAudio[] = L"disable-audio";
428 444
429 // Replaces the buffered data source for <audio> and <video> with a simplified 445 // Replaces the buffered data source for <audio> and <video> with a simplified
430 // resource loader that downloads the entire resource into memory. 446 // resource loader that downloads the entire resource into memory.
431 // 447 //
432 // TODO(scherkus): remove --simple-data-source when our media resource loading 448 // TODO(scherkus): remove --simple-data-source when our media resource loading
433 // is cleaned up and playback testing completed. 449 // is cleaned up and playback testing completed.
434 const wchar_t kSimpleDataSource[] = L"simple-data-source"; 450 const wchar_t kSimpleDataSource[] = L"simple-data-source";
435 451
436 } // namespace switches 452 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/test/unit/unittests.vcproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698