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

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

Issue 345034: Add a command line flag to force all network traffic through a particular ser... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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') | net/base/fixed_host_resolver.h » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 // is to be used only by the upgrade process. 555 // is to be used only by the upgrade process.
556 const char kTryChromeAgain[] = "try-chrome-again"; 556 const char kTryChromeAgain[] = "try-chrome-again";
557 557
558 // Runs un-installation steps that were done by chrome first-run. 558 // Runs un-installation steps that were done by chrome first-run.
559 const char kUninstall[] = "uninstall"; 559 const char kUninstall[] = "uninstall";
560 560
561 // Use Flip for the transport protocol instead of HTTP. 561 // Use Flip for the transport protocol instead of HTTP.
562 // This is a temporary testing flag. 562 // This is a temporary testing flag.
563 const char kUseFlip[] = "use-flip"; 563 const char kUseFlip[] = "use-flip";
564 564
565 // Force all requests to go to this server. This commandline is provided
566 // for testing purposes only, and will likely be removed soon. It can also
567 // hurt startup performance as it does a synchronous name resolution on the
568 // UI thread. The port is not optional.
569 // The host resolution using this scheme is done exactly once at startup.
570 // From that point on, it is completely a static configuration.
571 // TODO(mbelshe): Remove this flag when testing is complete.
572 // --testing-fixed-server=myserver:1000
573 const char kFixedServer[] = "testing-fixed-server";
574
565 // Use the low fragmentation heap for the CRT. 575 // Use the low fragmentation heap for the CRT.
566 const char kUseLowFragHeapCrt[] = "use-lf-heap"; 576 const char kUseLowFragHeapCrt[] = "use-lf-heap";
567 577
568 // A string used to override the default user agent with a custom one. 578 // A string used to override the default user agent with a custom one.
569 const char kUserAgent[] = "user-agent"; 579 const char kUserAgent[] = "user-agent";
570 580
571 // Specifies the user data directory, which is where the browser will look 581 // Specifies the user data directory, which is where the browser will look
572 // for all of its state. 582 // for all of its state.
573 const char kUserDataDir[] = "user-data-dir"; 583 const char kUserDataDir[] = "user-data-dir";
574 584
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 // 669 //
660 // You were going to just dump your switches here, weren't you? Instead, 670 // You were going to just dump your switches here, weren't you? Instead,
661 // please put them in alphabetical order above, or in order inside the 671 // please put them in alphabetical order above, or in order inside the
662 // appropriate ifdef at the bottom. The order should match the header. 672 // appropriate ifdef at the bottom. The order should match the header.
663 // ----------------------------------------------------------------------------- 673 // -----------------------------------------------------------------------------
664 674
665 // Enable AutoFill++. 675 // Enable AutoFill++.
666 const char kEnableNewAutoFill[] = "enable-new-autofill"; 676 const char kEnableNewAutoFill[] = "enable-new-autofill";
667 677
668 } // namespace switches 678 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | net/base/fixed_host_resolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698