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

Unified Diff: chrome/browser/download/notification/download_notification_browsertest.cc

Issue 2938863002: Merge "cros: Fix loading user profile w/o UserSessionManager" (Closed)
Patch Set: Created 3 years, 6 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/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 5bc9c42a42a19af40177a38d6e3297dbc27d9d86..3e5f5a61371b42fb5037fc1f2c60dd206acf1213 100644
--- a/chrome/browser/download/notification/download_notification_browsertest.cc
+++ b/chrome/browser/download/notification/download_notification_browsertest.cc
@@ -1178,7 +1178,7 @@ class MultiProfileDownloadNotificationTest
}
Profile* GetProfileByIndex(int index) {
- return chromeos::ProfileHelper::GetProfileByUserIdHash(
+ return chromeos::ProfileHelper::GetProfileByUserIdHashForTest(
kTestAccounts[index].hash);
}
@@ -1192,8 +1192,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);
}
};

Powered by Google App Engine
This is Rietveld 408576698