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
diff --git a/chrome/common/logging_chrome.cc b/chrome/common/logging_chrome.cc
index a0b53f0..93114258 100644
--- a/chrome/common/logging_chrome.cc
+++ b/chrome/common/logging_chrome.cc
@@ -209,7 +209,8 @@
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.