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

Unified Diff: components/favicon/core/favicon_handler_delegate.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: 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/favicon_tab_helper.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/favicon/core/favicon_handler_delegate.h
diff --git a/components/favicon/core/favicon_handler_delegate.h b/components/favicon/core/favicon_handler_delegate.h
index 2621902f5512cc89098a0df1aae32947fa7107d9..ae70a18a6f0f33eb461682f632ccf8f755a9820b 100644
--- a/components/favicon/core/favicon_handler_delegate.h
+++ b/components/favicon/core/favicon_handler_delegate.h
@@ -35,6 +35,9 @@ class FaviconHandlerDelegate {
// |icon_url_changed| is true if a favicon with a different icon URL has
// been selected since the previous call to NotifyFaviconUpdated().
virtual void NotifyFaviconUpdated(bool icon_url_changed) = 0;
+
+ // Returns whether the user is operating in an off-the-record context.
+ virtual bool IsOffTheRecord() = 0;
};
#endif // COMPONENTS_FAVICON_CORE_FAVICON_HANDLER_DELEGATE_H_
« no previous file with comments | « chrome/browser/favicon/favicon_tab_helper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698