Commit 52315371 authored by brettw@chromium.org's avatar brettw@chromium.org

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
parent d05cd101
......@@ -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);
}
......
......@@ -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.
......
......@@ -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[];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment