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

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

Issue 113465: Shorten the new proxy switch names. (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
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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 236 // Don't use a proxy server, always make direct connections. Overrides any
237 // other proxy server flags that are passed. 237 // other proxy server flags that are passed.
238 const wchar_t kNoProxyServer[] = L"no-proxy-server"; 238 const wchar_t kNoProxyServer[] = L"no-proxy-server";
239 239
240 // Specify a list of URLs for whom we bypass proxy settings and use direct 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 241 // connections. Ignored if --proxy-auto-detect or --no-proxy-server are
242 // also specified. 242 // also specified.
243 // TODO(robertshield): Specify URL format. 243 // TODO(robertshield): Specify URL format.
244 const wchar_t kProxyServerBypassUrls[] = L"proxy-server-bypass-urls"; 244 const wchar_t kProxyBypassUrls[] = L"proxy-bypass-urls";
245 245
246 // Force proxy auto-detection. 246 // Force proxy auto-detection.
247 const wchar_t kProxyServerAutoDetect[] = L"proxy-server-auto-detect"; 247 const wchar_t kProxyAutoDetect[] = L"proxy-auto-detect";
248 248
249 // Use the pac script at the given URL 249 // Use the pac script at the given URL
250 const wchar_t kProxyServerPacUrl[] = L"proxy-server-pac-url"; 250 const wchar_t kProxyPacUrl[] = L"proxy-pac-url";
251 251
252 // 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
253 // 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.
254 const wchar_t kWinHttpProxyResolver[] = L"winhttp-proxy-resolver"; 254 const wchar_t kWinHttpProxyResolver[] = L"winhttp-proxy-resolver";
255 255
256 // Chrome will support prefetching of DNS information. Until this becomes 256 // Chrome will support prefetching of DNS information. Until this becomes
257 // the default, we'll provide a command line switch. 257 // the default, we'll provide a command line switch.
258 extern const wchar_t kDnsLogDetails[] = L"dns-log-details"; 258 extern const wchar_t kDnsLogDetails[] = L"dns-log-details";
259 extern const wchar_t kDnsPrefetchDisable[] = L"dns-prefetch-disable"; 259 extern const wchar_t kDnsPrefetchDisable[] = L"dns-prefetch-disable";
260 260
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 const wchar_t kDisableAudio[] = L"disable-audio"; 445 const wchar_t kDisableAudio[] = L"disable-audio";
446 446
447 // Replaces the buffered data source for <audio> and <video> with a simplified 447 // Replaces the buffered data source for <audio> and <video> with a simplified
448 // resource loader that downloads the entire resource into memory. 448 // resource loader that downloads the entire resource into memory.
449 // 449 //
450 // TODO(scherkus): remove --simple-data-source when our media resource loading 450 // TODO(scherkus): remove --simple-data-source when our media resource loading
451 // is cleaned up and playback testing completed. 451 // is cleaned up and playback testing completed.
452 const wchar_t kSimpleDataSource[] = L"simple-data-source"; 452 const wchar_t kSimpleDataSource[] = L"simple-data-source";
453 453
454 } // namespace switches 454 } // namespace switches
OLDNEW
« chrome/browser/net/chrome_url_request_context_unittest.cc ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698