| Index: chrome/common/logging_chrome.cc
|
| diff --git a/chrome/common/logging_chrome.cc b/chrome/common/logging_chrome.cc
|
| index 909587355302e388755ff5719ee075a9c3f75192..c9bdc28e37f3a7f9f3dd2f4ba360e8c19946ecd1 100644
|
| --- a/chrome/common/logging_chrome.cc
|
| +++ b/chrome/common/logging_chrome.cc
|
| @@ -216,6 +216,13 @@ base::FilePath GetSessionLogFile(const CommandLine& command_line) {
|
| }
|
|
|
| void RedirectChromeLogging(const CommandLine& command_line) {
|
| + if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kMultiProfiles) &&
|
| + chrome_logging_redirected_) {
|
| + // TODO(nkostylev): Support multiple active users.
|
| + LOG(ERROR) << "NOT redirecting logging for multi-profiles case.";
|
| + return;
|
| + }
|
| +
|
| DCHECK(!chrome_logging_redirected_) <<
|
| "Attempted to redirect logging when it was already initialized.";
|
|
|
|
|