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

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

Issue 227153007: Remove dependency on Profile's IsOffTheRecord in favicon_handler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@FAVICON_create_core_dir
Patch Set: Review fixes. Created 6 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
« no previous file with comments | « chrome/browser/favicon/DEPS ('k') | chrome/browser/favicon/favicon_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/favicon/favicon_handler.h
diff --git a/chrome/browser/favicon/favicon_handler.h b/chrome/browser/favicon/favicon_handler.h
index e25620af426ef6a492c8c743e22bc8c37ec121b4..ffa4c6017d2230e08db4b0670ea1fee003376444 100644
--- a/chrome/browser/favicon/favicon_handler.h
+++ b/chrome/browser/favicon/favicon_handler.h
@@ -19,6 +19,7 @@
#include "ui/gfx/image/image.h"
#include "url/gurl.h"
+class FaviconDriver;
class FaviconHandlerDelegate;
class Profile;
class SkBitmap;
@@ -84,6 +85,7 @@ class FaviconHandler {
};
FaviconHandler(Profile* profile,
+ FaviconDriver* driver,
FaviconHandlerDelegate* delegate,
Type icon_type);
virtual ~FaviconHandler();
@@ -286,6 +288,9 @@ class FaviconHandler {
// The Profile associated with this handler.
Profile* profile_;
+ // The driver which implements platform-specific Favicon operations.
+ FaviconDriver* driver_; // weak
stevenjb 2014/04/08 15:55:57 I haven't seen "Driver" used much in Chrome code,
blundell 2014/04/08 16:01:57 FooDriver is the naming convention for the interfa
+
// This handler's delegate.
FaviconHandlerDelegate* delegate_; // weak
« no previous file with comments | « chrome/browser/favicon/DEPS ('k') | chrome/browser/favicon/favicon_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698