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

Side by Side Diff: chrome/browser/dom_ui/history_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 unified diff | Download patch
OLDNEW
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_HISTORY_UI_H_ 5 #ifndef CHROME_BROWSER_DOM_UI_HISTORY_UI_H_
6 #define CHROME_BROWSER_DOM_UI_HISTORY_UI_H_ 6 #define CHROME_BROWSER_DOM_UI_HISTORY_UI_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 DISALLOW_COPY_AND_ASSIGN(BrowsingHistoryHandler); 88 DISALLOW_COPY_AND_ASSIGN(BrowsingHistoryHandler);
89 }; 89 };
90 90
91 class HistoryUI : public DOMUI { 91 class HistoryUI : public DOMUI {
92 public: 92 public:
93 explicit HistoryUI(TabContents* contents); 93 explicit HistoryUI(TabContents* contents);
94 94
95 // Return the URL for a given search term. 95 // Return the URL for a given search term.
96 static const GURL GetHistoryURLWithSearchText(const std::wstring& text); 96 static const GURL GetHistoryURLWithSearchText(const std::wstring& text);
97 97
98 static bool GetFaviconResourceBytes(std::vector<unsigned char>* bytes); 98 static RefCountedMemory* GetFaviconResourceBytes();
99 99
100 private: 100 private:
101 DISALLOW_COPY_AND_ASSIGN(HistoryUI); 101 DISALLOW_COPY_AND_ASSIGN(HistoryUI);
102 }; 102 };
103 103
104 #endif // CHROME_BROWSER_DOM_UI_HISTORY_UI_H_ 104 #endif // CHROME_BROWSER_DOM_UI_HISTORY_UI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698