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

Unified Diff: chrome/browser/favicon/favicon_service_factory.h

Issue 1092873002: [Icons NTP] Refactor large_icon_source to extract the logic shared between desktop and Android to f… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/favicon/favicon_service_factory.h
diff --git a/chrome/browser/favicon/favicon_service_factory.h b/chrome/browser/favicon/favicon_service_factory.h
index fd159de51e1c6eec68aa93b5fb10630b8032bd16..fdbef9e7821f0b788b06fb1df1b6e7d0d677a7f1 100644
--- a/chrome/browser/favicon/favicon_service_factory.h
+++ b/chrome/browser/favicon/favicon_service_factory.h
@@ -12,6 +12,10 @@ template <typename T> struct DefaultSingletonTraits;
class Profile;
+namespace content {
+class BrowserContext;
+}
+
namespace favicon {
class FaviconService;
}
@@ -25,6 +29,9 @@ class FaviconServiceFactory : public BrowserContextKeyedServiceFactory {
static favicon::FaviconService* GetForProfile(Profile* profile,
ServiceAccessType sat);
+ static favicon::FaviconService* GetForBrowserContext(
+ content::BrowserContext* context);
+
static FaviconServiceFactory* GetInstance();
private:
« no previous file with comments | « no previous file | chrome/browser/favicon/favicon_service_factory.cc » ('j') | chrome/browser/favicon/large_icon_service_factory.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698