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

Unified Diff: chrome/browser/app_controller_mac_browsertest.mm

Issue 2216713002: Use BookmarkModelFactory::GetForBrowserContext everywhere (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bookmarks
Patch Set: Replace in .mm files Created 4 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/app_controller_mac_browsertest.mm
diff --git a/chrome/browser/app_controller_mac_browsertest.mm b/chrome/browser/app_controller_mac_browsertest.mm
index 7bd1c796b747216168b7348c9370ea81bf7a3c83..d9fc6b4fcffc6dda9815fd1bbb42b3b4657a7145 100644
--- a/chrome/browser/app_controller_mac_browsertest.mm
+++ b/chrome/browser/app_controller_mac_browsertest.mm
@@ -518,7 +518,7 @@ IN_PROC_BROWSER_TEST_F(AppControllerMainMenuBrowserTest,
// Use the existing profile as profile 1.
Profile* profile1 = browser()->profile();
bookmarks::test::WaitForBookmarkModelToLoad(
- BookmarkModelFactory::GetForProfile(profile1));
+ BookmarkModelFactory::GetForBrowserContext(profile1));
// Create profile 2.
base::FilePath path2 = profile_manager->GenerateNextProfileDirectoryPath();
@@ -526,7 +526,7 @@ IN_PROC_BROWSER_TEST_F(AppControllerMainMenuBrowserTest,
Profile::CreateProfile(path2, NULL, Profile::CREATE_MODE_SYNCHRONOUS);
profile_manager->RegisterTestingProfile(profile2, false, true);
bookmarks::test::WaitForBookmarkModelToLoad(
- BookmarkModelFactory::GetForProfile(profile2));
+ BookmarkModelFactory::GetForBrowserContext(profile2));
// Switch to profile 1, create bookmark 1 and force the menu to build.
[ac windowChangedToProfile:profile1];
« no previous file with comments | « chrome/browser/android/tab_android.cc ('k') | chrome/browser/autocomplete/chrome_autocomplete_provider_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698