diff options
author | jif@chromium.org <jif@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-09 16:41:50 +0000 |
---|---|---|
committer | jif@chromium.org <jif@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-09 16:41:50 +0000 |
commit | 20993f62d0658ed1ec7f16c7c1d0ca534314f95a (patch) | |
tree | 32ceda71e367d72a1c6505ab037608c2e4732b92 /components/favicon | |
parent | 74d0c8ab3d1c02f4777b80303b60d22370d228a7 (diff) | |
download | chromium_src-20993f62d0658ed1ec7f16c7c1d0ca534314f95a.zip chromium_src-20993f62d0658ed1ec7f16c7c1d0ca534314f95a.tar.gz chromium_src-20993f62d0658ed1ec7f16c7c1d0ca534314f95a.tar.bz2 |
Remove dependency on Profile's IsOffTheRecord in favicon_handler.
Have FaviconTabHelper supports IsOffTheRecord to move knowledge of Profile out of favicon_handler.
BUG=359095
Review URL: https://codereview.chromium.org/227153007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262709 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/favicon')
-rw-r--r-- | components/favicon/core/favicon_handler_delegate.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/favicon/core/favicon_handler_delegate.h b/components/favicon/core/favicon_handler_delegate.h index 2621902..ae70a18a 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_ |