Index: chrome/common/logging_chrome.cc |
diff --git a/chrome/common/logging_chrome.cc b/chrome/common/logging_chrome.cc |
index a0b53f09c8dfc70380d936a1904374766f5f56ff..93114258135c541e24bf5bbd5f03a5359c8d8da3 100644 |
--- a/chrome/common/logging_chrome.cc |
+++ b/chrome/common/logging_chrome.cc |
@@ -209,7 +209,8 @@ base::FilePath GetSessionLogFile(const CommandLine& command_line) { |
base::FilePath profile_dir; |
std::string login_profile_value = |
command_line.GetSwitchValueASCII(chromeos::switches::kLoginProfile); |
- if (login_profile_value == chrome::kLegacyProfileDir) { |
+ if (login_profile_value == chrome::kLegacyProfileDir || |
+ login_profile_value == chrome::kTestUserProfileDir) { |
profile_dir = base::FilePath(login_profile_value); |
} else { |
// We could not use g_browser_process > profile_helper() here. |