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

Unified Diff: chrome/browser/history/android/android_provider_backend_unittest.cc

Issue 2216713002: Use BookmarkModelFactory::GetForBrowserContext everywhere (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bookmarks
Patch Set: Eliminate Profile::FromBrowserContext in some places 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/history/android/android_provider_backend_unittest.cc
diff --git a/chrome/browser/history/android/android_provider_backend_unittest.cc b/chrome/browser/history/android/android_provider_backend_unittest.cc
index e572ad0fb9dc1ff4a88132cfada2aa42acb37e7c..db7df734417d60dd072892e4fa8cab218b9b037e 100644
--- a/chrome/browser/history/android/android_provider_backend_unittest.cc
+++ b/chrome/browser/history/android/android_provider_backend_unittest.cc
@@ -185,7 +185,8 @@ class AndroidProviderBackendTest : public testing::Test {
TestingProfile* testing_profile = profile_manager_.CreateTestingProfile(
chrome::kInitialProfile);
testing_profile->CreateBookmarkModel(true);
- bookmark_model_ = BookmarkModelFactory::GetForProfile(testing_profile);
+ bookmark_model_ =
+ BookmarkModelFactory::GetForBrowserContext(testing_profile);
history_client_.reset(new ChromeHistoryClient(bookmark_model_));
history_backend_client_ = history_client_->CreateBackendClient();
bookmarks::test::WaitForBookmarkModelToLoad(bookmark_model_);

Powered by Google App Engine
This is Rietveld 408576698