diff options
author | arv@google.com <arv@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-28 21:56:48 +0000 |
---|---|---|
committer | arv@google.com <arv@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-28 21:56:48 +0000 |
commit | 0189bc72c90fab03afab623d0b2d8be3d35af3e7 (patch) | |
tree | a1962c2ecddcaf1eb1f1a27f6dde6991d19a9b07 /chrome/browser/dom_ui/downloads_ui.h | |
parent | 34a6418e00deca16a311b331ab4b2f257c674d74 (diff) | |
download | chromium_src-0189bc72c90fab03afab623d0b2d8be3d35af3e7.zip chromium_src-0189bc72c90fab03afab623d0b2d8be3d35af3e7.tar.gz chromium_src-0189bc72c90fab03afab623d0b2d8be3d35af3e7.tar.bz2 |
Adds a FaviconService class tied to the profile.
Original issue: http://codereview.chromium.org/115212/show
The favicons service is the entry point to getting favicons.
Make the DOMUIFactory handle the favicons of DOMUI pages so since DOMUI pages
are never added to the history.
BUG=5840
TEST=Open a new window and open history and downloads (Ctrl+H and Ctrl+J) in
this window. Then close the window and open the NTP. The recently closed
windows/tabs should show the favicons for the hsitroy and downloads page.
Review URL: http://codereview.chromium.org/178001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24806 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui/downloads_ui.h')
-rw-r--r-- | chrome/browser/dom_ui/downloads_ui.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/dom_ui/downloads_ui.h b/chrome/browser/dom_ui/downloads_ui.h index a24e07b..c7ebcdb 100644 --- a/chrome/browser/dom_ui/downloads_ui.h +++ b/chrome/browser/dom_ui/downloads_ui.h @@ -5,12 +5,16 @@ #ifndef CHROME_BROWSER_DOM_UI_DOWNLOADS_UI_H_ #define CHROME_BROWSER_DOM_UI_DOWNLOADS_UI_H_ +#include <vector> + #include "chrome/browser/dom_ui/dom_ui.h" class DownloadsUI : public DOMUI { public: explicit DownloadsUI(TabContents* contents); + static bool GetFaviconResourceBytes(std::vector<unsigned char>* bytes); + private: DISALLOW_COPY_AND_ASSIGN(DownloadsUI); }; |