diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-27 15:48:52 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-27 15:48:52 +0000 |
commit | 52315371aa5bb0c9d2c6094d28649684765057d1 (patch) | |
tree | c1aaa51ae579e4acf7af767173bfde66bee43d59 /chrome | |
parent | d05cd10167055b92abefae9dbb700b49da657491 (diff) | |
download | chromium_src-52315371aa5bb0c9d2c6094d28649684765057d1.zip chromium_src-52315371aa5bb0c9d2c6094d28649684765057d1.tar.gz chromium_src-52315371aa5bb0c9d2c6094d28649684765057d1.tar.bz2 |
Change the use-flip command line flag from wchar_t to char
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/338038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30196 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/browser_init.cc | 2 | ||||
-rw-r--r-- | chrome/common/chrome_switches.cc | 8 | ||||
-rw-r--r-- | chrome/common/chrome_switches.h | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/browser_init.cc b/chrome/browser/browser_init.cc index 095edae..fd5f8ef 100644 --- a/chrome/browser/browser_init.cc +++ b/chrome/browser/browser_init.cc @@ -806,7 +806,7 @@ bool BrowserInit::ProcessCmdLineImpl(const CommandLine& command_line, if (command_line.HasSwitch(switches::kUseFlip)) { std::string flip_mode = - WideToASCII(command_line.GetSwitchValue(switches::kUseFlip)); + WideToASCII(command_line.GetSwitchValue(switches::kUseFlip)); net::HttpNetworkLayer::EnableFlip(flip_mode); } diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index 38cefd3..203e4b3 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -558,6 +558,10 @@ const char kTryChromeAgain[] = "try-chrome-again"; // Runs un-installation steps that were done by chrome first-run. const char kUninstall[] = "uninstall"; +// Use Flip for the transport protocol instead of HTTP. +// This is a temporary testing flag. +const char kUseFlip[] = "use-flip"; + // Use the low fragmentation heap for the CRT. const char kUseLowFragHeapCrt[] = "use-lf-heap"; @@ -607,10 +611,6 @@ const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; // Causes the process to run as a renderer zygote. const char kZygoteProcess[] = "zygote"; -// Use Flip for the transport protocol instead of HTTP. -// This is a temporary testing flag. -const wchar_t kUseFlip[] = L"use-flip"; - #if defined(OS_CHROMEOS) // The name of the pipe over which the Chrome OS login manager will send // single-sign-on cookies. diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h index b4cf129..8ee5088 100644 --- a/chrome/common/chrome_switches.h +++ b/chrome/common/chrome_switches.h @@ -159,6 +159,7 @@ extern const char kThumbnailStore[]; extern const char kTrustedPlugins[]; extern const char kTryChromeAgain[]; extern const char kUninstall[]; +extern const char kUseFlip[]; extern const char kUseLowFragHeapCrt[]; extern const char kUserAgent[]; extern const char kUserDataDir[]; @@ -173,7 +174,6 @@ extern const char kWininetFtp[]; extern const char kWorkerProcess[]; extern const char kZygoteCmdPrefix[]; extern const char kZygoteProcess[]; -extern const wchar_t kUseFlip[]; #if defined(OS_CHROMEOS) extern const char kCookiePipe[]; |