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

Unified Diff: chrome/browser/chromeos/drive/file_system_util.cc

Issue 898003002: [Cleanup] Const-correct the profile() method for the EasyUnlockService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 10 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/drive/file_system_util.cc
diff --git a/chrome/browser/chromeos/drive/file_system_util.cc b/chrome/browser/chromeos/drive/file_system_util.cc
index b2069225c2795b17771d8a4e88b794a344ef23f7..88ed4c25ca981fc8aa81c3b7f522cab76e17f66b 100644
--- a/chrome/browser/chromeos/drive/file_system_util.cc
+++ b/chrome/browser/chromeos/drive/file_system_util.cc
@@ -121,7 +121,7 @@ base::FilePath GetDriveMountPointPath(Profile* profile) {
// enabled. In that case, we fall back to use UserManager (it basically just
// returns currently active users's hash in such a case.) I still try
// ProfileHelper first because it works better in tests.
- user_manager::User* const user =
+ const user_manager::User* const user =
user_manager::UserManager::IsInitialized()
? chromeos::ProfileHelper::Get()->GetUserByProfile(
profile->GetOriginalProfile())

Powered by Google App Engine
This is Rietveld 408576698