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

Side by Side Diff: chrome/browser/ui/webui/ntp/favicon_webui_handler.h

Issue 10272004: Move RefCountedMemory class to base namespace. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_UI_WEBUI_NTP_FAVICON_WEBUI_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_NTP_FAVICON_WEBUI_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_NTP_FAVICON_WEBUI_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_NTP_FAVICON_WEBUI_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 11
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 // Map from request ID to DOM ID so we can make the appropriate callback when 49 // Map from request ID to DOM ID so we can make the appropriate callback when
50 // the favicon request comes back. This map exists because 50 // the favicon request comes back. This map exists because
51 // CancelableRequestConsumerTSimple only takes POD keys. 51 // CancelableRequestConsumerTSimple only takes POD keys.
52 std::map<int, std::string> dom_id_map_; 52 std::map<int, std::string> dom_id_map_;
53 // A counter to track ID numbers as we use them. 53 // A counter to track ID numbers as we use them.
54 int id_; 54 int id_;
55 55
56 // Raw PNG representation of the favicon to show when the favicon 56 // Raw PNG representation of the favicon to show when the favicon
57 // database doesn't have a favicon for a webpage. 57 // database doesn't have a favicon for a webpage.
58 scoped_refptr<RefCountedMemory> default_favicon_; 58 scoped_refptr<base::RefCountedMemory> default_favicon_;
59 59
60 // Manage retrieval of icons from apps. 60 // Manage retrieval of icons from apps.
61 scoped_ptr<ExtensionIconColorManager> app_icon_color_manager_; 61 scoped_ptr<ExtensionIconColorManager> app_icon_color_manager_;
62 62
63 DISALLOW_COPY_AND_ASSIGN(FaviconWebUIHandler); 63 DISALLOW_COPY_AND_ASSIGN(FaviconWebUIHandler);
64 }; 64 };
65 65
66 #endif // CHROME_BROWSER_UI_WEBUI_NTP_FAVICON_WEBUI_HANDLER_H_ 66 #endif // CHROME_BROWSER_UI_WEBUI_NTP_FAVICON_WEBUI_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/history_ui.cc ('k') | chrome/browser/ui/webui/ntp/favicon_webui_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698