Chromium Code Reviews| Index: chrome/common/logging_chrome.cc |
| diff --git a/chrome/common/logging_chrome.cc b/chrome/common/logging_chrome.cc |
| index 4e2df8c8efdf47d8b3ab16953696495eaf4d7c70..d88677508f5de04f57502c31b8e31453c91872ae 100644 |
| --- a/chrome/common/logging_chrome.cc |
| +++ b/chrome/common/logging_chrome.cc |
| @@ -229,6 +229,9 @@ base::FilePath GetSessionLogFile(const base::CommandLine& command_line) { |
| } |
| void RedirectChromeLogging(const base::CommandLine& command_line) { |
|
sky
2017/05/23 17:35:31
AFAICT this function is only used in chromeos. Cod
achuithb
2017/05/25 19:36:41
Done.
|
| + if (command_line.HasSwitch(switches::kDisableLoggingRedirect)) |
| + return; |
| + |
| if (chrome_logging_redirected_) { |
| // TODO(nkostylev): Support multiple active users. http://crbug.com/230345 |
| LOG(WARNING) << "NOT redirecting logging for multi-profiles case."; |