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

Side by Side Diff: chrome/browser/ui/webui/favicon_source.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) 2011 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_FAVICON_SOURCE_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_FAVICON_SOURCE_H_
6 #define CHROME_BROWSER_UI_WEBUI_FAVICON_SOURCE_H_ 6 #define CHROME_BROWSER_UI_WEBUI_FAVICON_SOURCE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 Profile* profile_; 54 Profile* profile_;
55 CancelableRequestConsumerT<int, 0> cancelable_consumer_; 55 CancelableRequestConsumerT<int, 0> cancelable_consumer_;
56 56
57 // Map from request ID to size requested (in pixels). TODO(estade): Get rid of 57 // Map from request ID to size requested (in pixels). TODO(estade): Get rid of
58 // this map when we properly support multiple favicon sizes. 58 // this map when we properly support multiple favicon sizes.
59 std::map<int, int> request_size_map_; 59 std::map<int, int> request_size_map_;
60 60
61 // Raw PNG representation of the favicon to show when the favicon 61 // Raw PNG representation of the favicon to show when the favicon
62 // database doesn't have a favicon for a webpage. 62 // database doesn't have a favicon for a webpage.
63 // 16x16 63 // 16x16
64 scoped_refptr<RefCountedMemory> default_favicon_; 64 scoped_refptr<base::RefCountedMemory> default_favicon_;
65 // 32x32 65 // 32x32
66 scoped_refptr<RefCountedMemory> default_favicon_large_; 66 scoped_refptr<base::RefCountedMemory> default_favicon_large_;
67 67
68 // The history::IconTypes of icon that this FaviconSource handles. 68 // The history::IconTypes of icon that this FaviconSource handles.
69 const int icon_types_; 69 const int icon_types_;
70 70
71 DISALLOW_COPY_AND_ASSIGN(FaviconSource); 71 DISALLOW_COPY_AND_ASSIGN(FaviconSource);
72 }; 72 };
73 73
74 #endif // CHROME_BROWSER_UI_WEBUI_FAVICON_SOURCE_H_ 74 #endif // CHROME_BROWSER_UI_WEBUI_FAVICON_SOURCE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/extensions/extension_icon_source.cc ('k') | chrome/browser/ui/webui/favicon_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698