Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(677)

Unified Diff: chrome/browser/chromeos/file_manager/path_util.cc

Issue 271533004: Turning on MultiProfile by default for ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}

Powered by Google App Engine
This is Rietveld 408576698