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

Unified Diff: chrome/browser/thumbnails/thumbnail_service_factory.cc

Issue 14141006: [components] Switch {RefCounted}ProfileKeyedService to use BrowserContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trybots 2 Created 7 years, 8 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/thumbnails/thumbnail_service_factory.cc
diff --git a/chrome/browser/thumbnails/thumbnail_service_factory.cc b/chrome/browser/thumbnails/thumbnail_service_factory.cc
index 2549b7d23b9cc26b5f997c94a730e0ee033465a9..4de144a4e5295d4764abf830cda192240d747622 100644
--- a/chrome/browser/thumbnails/thumbnail_service_factory.cc
+++ b/chrome/browser/thumbnails/thumbnail_service_factory.cc
@@ -34,7 +34,8 @@ ThumbnailServiceFactory* ThumbnailServiceFactory::GetInstance() {
}
scoped_refptr<RefcountedProfileKeyedService>
- ThumbnailServiceFactory::BuildServiceInstanceFor(Profile* profile) const {
+ ThumbnailServiceFactory::BuildServiceInstanceFor(
+ content::BrowserContext* profile) const {
return scoped_refptr<RefcountedProfileKeyedService>(
- new ThumbnailServiceImpl(profile));
+ new ThumbnailServiceImpl(static_cast<Profile*>(profile)));
}
« no previous file with comments | « chrome/browser/thumbnails/thumbnail_service_factory.h ('k') | chrome/browser/ui/ash/app_sync_ui_state_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698