| Index: chrome/browser/chromeos/profiles/profile_helper.cc
|
| diff --git a/chrome/browser/chromeos/profiles/profile_helper.cc b/chrome/browser/chromeos/profiles/profile_helper.cc
|
| index 3dd0819a6deb8b085fc8203172eaf0cf8bb74ac5..7edb6690512fed900f84e49d8fa759679cbabefc 100644
|
| --- a/chrome/browser/chromeos/profiles/profile_helper.cc
|
| +++ b/chrome/browser/chromeos/profiles/profile_helper.cc
|
| @@ -118,8 +118,13 @@ void ProfileHelper::ProfileStartup(Profile* profile, bool process_startup) {
|
| }
|
|
|
| base::FilePath ProfileHelper::GetActiveUserProfileDir() {
|
| - DCHECK(!active_user_id_hash_.empty());
|
| - return base::FilePath(chrome::kProfileDirPrefix + active_user_id_hash_);
|
| + return GetUserProfileDir(active_user_id_hash_);
|
| +}
|
| +
|
| +base::FilePath ProfileHelper::GetUserProfileDir(
|
| + const std::string& user_id_hash) {
|
| + DCHECK(!user_id_hash.empty());
|
| + return base::FilePath(chrome::kProfileDirPrefix + user_id_hash);
|
| }
|
|
|
| void ProfileHelper::Initialize() {
|
|
|