| 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 cda520eef79767df51db0801c57f9806edac7cf2..2fb9304cf640d4228a52c537be94cb8604c06dd2 100644
|
| --- a/chrome/browser/chromeos/profiles/profile_helper.cc
|
| +++ b/chrome/browser/chromeos/profiles/profile_helper.cc
|
| @@ -13,6 +13,7 @@
|
| #include "chrome/browser/chromeos/login/user_manager.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/profiles/profile_manager.h"
|
| +#include "chrome/browser/profiles/profiles_state.h"
|
| #include "chrome/common/chrome_constants.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chromeos/chromeos_switches.h"
|
| @@ -58,6 +59,11 @@ Profile* ProfileHelper::GetProfileByUserIdHash(
|
| // static
|
| base::FilePath ProfileHelper::GetProfilePathByUserIdHash(
|
| const std::string& user_id_hash) {
|
| + // Fails for KioskTest.InstallAndLaunchApp test - crbug.com/238985
|
| + // Will probably fail for Guest session / restart after a crash -
|
| + // crbug.com/238998
|
| + // TODO(nkostylev): Remove this check once these bugs are fixed.
|
| + DCHECK(!user_id_hash.empty());
|
| ProfileManager* profile_manager = g_browser_process->profile_manager();
|
| base::FilePath profile_path = profile_manager->user_data_dir();
|
|
|
|
|