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

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

Issue 375413002: Replace chromeos::UserManager::Get() with chromeos::GetUserManager(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 6 years, 5 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 78b1e7266b4599121ffca42f4f03e4a7cc3d1fda..fff6923a5c59fa4df5660bac5b9afe85ec468912 100644
--- a/chrome/browser/chromeos/file_manager/path_util.cc
+++ b/chrome/browser/chromeos/file_manager/path_util.cc
@@ -40,7 +40,7 @@ base::FilePath GetDownloadsFolderForProfile(Profile* profile) {
chromeos::ProfileHelper::Get()->GetUserByProfile(
profile->GetOriginalProfile());
const chromeos::User* const primary_user =
- chromeos::UserManager::Get()->GetPrimaryUser();
+ chromeos::GetUserManager()->GetPrimaryUser();
if (user == primary_user)
return DownloadPrefs::GetDefaultDownloadDirectory();
}

Powered by Google App Engine
This is Rietveld 408576698