diff options
author | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-19 21:52:25 +0000 |
---|---|---|
committer | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-19 21:52:25 +0000 |
commit | 64146ecefd9ec235af332cd62315ce03a5e85d8a (patch) | |
tree | bac14b2c6f8f50b40ac25d280ccef3fbe6324d43 /chrome/common | |
parent | 10d549f104232694627d17e25f1959ec2f459360 (diff) | |
download | chromium_src-64146ecefd9ec235af332cd62315ce03a5e85d8a.zip chromium_src-64146ecefd9ec235af332cd62315ce03a5e85d8a.tar.gz chromium_src-64146ecefd9ec235af332cd62315ce03a5e85d8a.tar.bz2 |
cros: Don't prefix test user profile.
Prefixing test user profile breaks the assumption that
TestingProfile::kTestUserProfileDir is always in sync with
chrome::kTestUserProfileDir.
BUG=351243
Review URL: https://codereview.chromium.org/204123002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258114 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/logging_chrome.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/common/logging_chrome.cc b/chrome/common/logging_chrome.cc index a0b53f0..9311425 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. |