OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_DOM_UI_DOWNLOADS_UI_H_ | 5 #ifndef CHROME_BROWSER_DOM_UI_DOWNLOADS_UI_H_ |
6 #define CHROME_BROWSER_DOM_UI_DOWNLOADS_UI_H_ | 6 #define CHROME_BROWSER_DOM_UI_DOWNLOADS_UI_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "chrome/browser/dom_ui/dom_ui.h" | 10 #include "chrome/browser/dom_ui/dom_ui.h" |
11 | 11 |
| 12 class RefCountedMemory; |
| 13 |
12 class DownloadsUI : public DOMUI { | 14 class DownloadsUI : public DOMUI { |
13 public: | 15 public: |
14 explicit DownloadsUI(TabContents* contents); | 16 explicit DownloadsUI(TabContents* contents); |
15 | 17 |
16 static bool GetFaviconResourceBytes(std::vector<unsigned char>* bytes); | 18 static RefCountedMemory* GetFaviconResourceBytes(); |
17 | 19 |
18 private: | 20 private: |
19 DISALLOW_COPY_AND_ASSIGN(DownloadsUI); | 21 DISALLOW_COPY_AND_ASSIGN(DownloadsUI); |
20 }; | 22 }; |
21 | 23 |
22 #endif // CHROME_BROWSER_DOM_UI_DOWNLOADS_UI_H_ | 24 #endif // CHROME_BROWSER_DOM_UI_DOWNLOADS_UI_H_ |
OLD | NEW |