| Index: chrome/browser/chromeos/file_manager/path_util.cc
|
| diff --git a/chrome/browser/chromeos/file_manager/path_util.cc b/chrome/browser/chromeos/file_manager/path_util.cc
|
| index 27e02fc2c2dd0becd4f10ec87517c76892613612..59256ba4d7a6a1764fc50691018590f724de9ca5 100644
|
| --- a/chrome/browser/chromeos/file_manager/path_util.cc
|
| +++ b/chrome/browser/chromeos/file_manager/path_util.cc
|
| @@ -33,16 +33,13 @@ const base::FilePath::CharType kBuggyDriveFolderPath[] =
|
| } // namespace
|
|
|
| base::FilePath GetDownloadsFolderForProfile(Profile* profile) {
|
| - if (!base::SysInfo::IsRunningOnChromeOS() &&
|
| - !chromeos::UserManager::IsMultipleProfilesAllowed()) {
|
| - // On the developer run on Linux desktop build, if multiple profiles are
|
| - // not enabled, use $HOME/Downloads for ease for accessing local files for
|
| - // debugging.
|
| + if (!base::SysInfo::IsRunningOnChromeOS()) {
|
| + // On the developer run on Linux desktop build, use $HOME/Downloads for ease
|
| + // for accessing local files for debugging.
|
| base::FilePath path;
|
| CHECK(PathService::Get(base::DIR_HOME, &path));
|
| return path.AppendASCII(kDownloadsFolderName);
|
| }
|
| -
|
| return profile->GetPath().AppendASCII(kDownloadsFolderName);
|
| }
|
|
|
|
|