| Index: chrome/browser/chromeos/login/login_utils.cc
|
| diff --git a/chrome/browser/chromeos/login/login_utils.cc b/chrome/browser/chromeos/login/login_utils.cc
|
| index 342cd5fff8b7879aee38dfe03c31cffac60ea82f..5aa016ca222d033e7d562293b60835a9294ca925 100644
|
| --- a/chrome/browser/chromeos/login/login_utils.cc
|
| +++ b/chrome/browser/chromeos/login/login_utils.cc
|
| @@ -72,6 +72,9 @@ const char kGuestModeLoggingLevel[] = "1";
|
| // Format of command line switch.
|
| const char kSwitchFormatString[] = " --%s=\"%s\"";
|
|
|
| +// User name which is used in the Guest session.
|
| +const char kGuestUserName[] = "";
|
| +
|
| // Resets the proxy configuration service for the default request context.
|
| class ResetDefaultProxyConfigServiceTask : public Task {
|
| public:
|
| @@ -424,6 +427,8 @@ std::string LoginUtilsImpl::GetOffTheRecordCommandLine(
|
| command_line->AppendSwitchASCII(switches::kLoggingLevel,
|
| kGuestModeLoggingLevel);
|
|
|
| + command_line->AppendSwitchASCII(switches::kLoginUser, kGuestUserName);
|
| +
|
| if (start_url.is_valid())
|
| command_line->AppendArg(start_url.spec());
|
|
|
|
|