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

Unified Diff: chrome/browser/net/nss_context_chromeos_browsertest.cc

Issue 445353004: GetProfileByUser deprecated and renamed to GetProfileByUserUnsafe. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 years, 4 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/net/nss_context_chromeos_browsertest.cc
diff --git a/chrome/browser/net/nss_context_chromeos_browsertest.cc b/chrome/browser/net/nss_context_chromeos_browsertest.cc
index d8bfefa267b6e2a01938083f71fff48b96b8b0b8..d77c64fe4f052ec1b58d6461dc757bea72b2b57d 100644
--- a/chrome/browser/net/nss_context_chromeos_browsertest.cc
+++ b/chrome/browser/net/nss_context_chromeos_browsertest.cc
@@ -135,7 +135,7 @@ IN_PROC_BROWSER_TEST_F(NSSContextChromeOSBrowserTest, TwoUsers) {
// Log in first user and get their DB.
LoginUser(kTestUser1);
- Profile* profile1 = chromeos::ProfileHelper::Get()->GetProfileByUser(
+ Profile* profile1 = chromeos::ProfileHelper::Get()->GetProfileByUserUnsafe(
user_manager->FindUser(kTestUser1));
ASSERT_TRUE(profile1);
@@ -147,7 +147,7 @@ IN_PROC_BROWSER_TEST_F(NSSContextChromeOSBrowserTest, TwoUsers) {
base::RunLoop().RunUntilIdle();
AddUser(kTestUser2);
- Profile* profile2 = chromeos::ProfileHelper::Get()->GetProfileByUser(
+ Profile* profile2 = chromeos::ProfileHelper::Get()->GetProfileByUserUnsafe(
user_manager->FindUser(kTestUser2));
ASSERT_TRUE(profile2);

Powered by Google App Engine
This is Rietveld 408576698