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

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

Issue 302433010: Pass an instance of FaviconClient to FaviconService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@latest2
Patch Set: Created 6 years, 7 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
« no previous file with comments | « chrome/browser/favicon/favicon_handler_unittest.cc ('k') | chrome/browser/favicon/favicon_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/favicon/favicon_service.h
diff --git a/chrome/browser/favicon/favicon_service.h b/chrome/browser/favicon/favicon_service.h
index dfbd1f40f0677f3a42bd1b34a64c7ab09747c310..7ecec2679aa614bd778ec8e8179154db814125c4 100644
--- a/chrome/browser/favicon/favicon_service.h
+++ b/chrome/browser/favicon/favicon_service.h
@@ -16,6 +16,7 @@
#include "components/keyed_service/core/keyed_service.h"
#include "ui/base/layout.h"
+class FaviconClient;
class GURL;
class HistoryService;
struct ImportedFaviconUsage;
@@ -25,7 +26,7 @@ class Profile;
// backend behind the scenes.
class FaviconService : public KeyedService {
public:
- explicit FaviconService(Profile* profile);
+ explicit FaviconService(Profile* profile, FaviconClient* favicon_client);
blundell 2014/05/27 18:48:40 nit: get rid of explicit
blundell 2014/05/27 18:48:40 Add a comment on these parameters, including their
jif 2014/05/28 09:05:40 Done.
virtual ~FaviconService();
@@ -220,6 +221,7 @@ class FaviconService : public KeyedService {
base::hash_set<MissingFaviconURLHash> missing_favicon_urls_;
HistoryService* history_service_;
Profile* profile_;
+ FaviconClient* favicon_client_;
// Helper function for GetFaviconImageForURL(), GetRawFaviconForURL() and
// GetFaviconForURL().
« no previous file with comments | « chrome/browser/favicon/favicon_handler_unittest.cc ('k') | chrome/browser/favicon/favicon_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698