Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Unified Diff: chrome/common/logging_chrome.cc

Issue 14139003: Chrome OS multi-profiles backend and UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move IsMultiProfilesEnabled() out of cros Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/chrome_notification_types.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/logging_chrome.cc
diff --git a/chrome/common/logging_chrome.cc b/chrome/common/logging_chrome.cc
index 909587355302e388755ff5719ee075a9c3f75192..8a5dd4b27c454897b8b304b1b1489d958dd4b1d9 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. http://crbug.com/230345
+ LOG(ERROR) << "NOT redirecting logging for multi-profiles case.";
+ return;
+ }
+
DCHECK(!chrome_logging_redirected_) <<
"Attempted to redirect logging when it was already initialized.";
« no previous file with comments | « chrome/common/chrome_notification_types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698