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

Unified Diff: chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc

Issue 839193002: Move ServiceAccessType into //components/keyed_service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation on android Created 5 years, 11 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/ui/toolbar/back_forward_menu_model_unittest.cc
diff --git a/chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc b/chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc
index 8f83b67172e0304a6c2551aea0101d35e51e8a91..e5d8746aa0eee3d03f23582ebe319edba9e53b50 100644
--- a/chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc
+++ b/chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc
@@ -519,13 +519,12 @@ TEST_F(BackFwdMenuModelTest, FaviconLoadTest) {
NavigateAndCommit(url2);
// Set the desired favicon for url1.
- HistoryServiceFactory::GetForProfile(
- profile(), Profile::EXPLICIT_ACCESS)->AddPage(
- url1, base::Time::Now(), history::SOURCE_BROWSED);
- FaviconServiceFactory::GetForProfile(profile(), Profile::EXPLICIT_ACCESS)
- ->SetFavicons(url1,
- url1_favicon,
- favicon_base::FAVICON,
+ HistoryServiceFactory::GetForProfile(profile(),
+ ServiceAccessType::EXPLICIT_ACCESS)
+ ->AddPage(url1, base::Time::Now(), history::SOURCE_BROWSED);
+ FaviconServiceFactory::GetForProfile(profile(),
+ ServiceAccessType::EXPLICIT_ACCESS)
+ ->SetFavicons(url1, url1_favicon, favicon_base::FAVICON,
gfx::Image::CreateFrom1xBitmap(new_icon_bitmap));
// Will return the current icon (default) but start an anync call
« no previous file with comments | « chrome/browser/ui/toolbar/back_forward_menu_model.cc ('k') | chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698