Index: chrome/browser/download/notification/download_notification_browsertest.cc |
diff --git a/chrome/browser/download/notification/download_notification_browsertest.cc b/chrome/browser/download/notification/download_notification_browsertest.cc |
index 51890e29bd28c7ed1fe8ba0d9193bfd41c80e579..ce5a4833652459cd5da519f07eea35559312399f 100644 |
--- a/chrome/browser/download/notification/download_notification_browsertest.cc |
+++ b/chrome/browser/download/notification/download_notification_browsertest.cc |
@@ -1176,7 +1176,7 @@ class MultiProfileDownloadNotificationTest |
} |
Profile* GetProfileByIndex(int index) { |
- return chromeos::ProfileHelper::GetProfileByUserIdHash( |
+ return chromeos::ProfileHelper::GetProfileByUserIdHashForTest( |
kTestAccounts[index].hash); |
} |
@@ -1190,8 +1190,8 @@ class MultiProfileDownloadNotificationTest |
AccountId::FromUserEmailGaiaId(info.email, info.gaia_id), |
base::UTF8ToUTF16(info.display_name)); |
SigninManagerFactory::GetForProfile( |
- chromeos::ProfileHelper::GetProfileByUserIdHash(info.hash)) |
- ->SetAuthenticatedAccountInfo(info.gaia_id, info.email); |
+ chromeos::ProfileHelper::GetProfileByUserIdHashForTest(info.hash)) |
+ ->SetAuthenticatedAccountInfo(info.gaia_id, info.email); |
} |
}; |