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

Unified Diff: chrome/browser/dom_ui/downloads_ui.h

Issue 288005: First fix to minimize copying of image data. (Closed)
Patch Set: Modify gyp Created 11 years, 2 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
Index: chrome/browser/dom_ui/downloads_ui.h
diff --git a/chrome/browser/dom_ui/downloads_ui.h b/chrome/browser/dom_ui/downloads_ui.h
index c7ebcdb396930218c721f527380120b92b674066..cd3fbf1f304a7d7a74175d8a0fcba07e365ad084 100644
--- a/chrome/browser/dom_ui/downloads_ui.h
+++ b/chrome/browser/dom_ui/downloads_ui.h
@@ -9,11 +9,13 @@
#include "chrome/browser/dom_ui/dom_ui.h"
+class RefCountedMemory;
+
class DownloadsUI : public DOMUI {
public:
explicit DownloadsUI(TabContents* contents);
- static bool GetFaviconResourceBytes(std::vector<unsigned char>* bytes);
+ static RefCountedMemory* GetFaviconResourceBytes();
private:
DISALLOW_COPY_AND_ASSIGN(DownloadsUI);

Powered by Google App Engine
This is Rietveld 408576698