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

Unified Diff: chrome/browser/history/history_types.h

Issue 10821035: wip Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 5 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
« no previous file with comments | « chrome/browser/history/history_backend.cc ('k') | chrome/browser/history/history_types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_types.h
diff --git a/chrome/browser/history/history_types.h b/chrome/browser/history/history_types.h
index 97d8763956d79fb855d9568669ca78e5b226199f..e4709a4c4927a9fbe6d7d3483a13a9b98b186477 100644
--- a/chrome/browser/history/history_types.h
+++ b/chrome/browser/history/history_types.h
@@ -792,11 +792,17 @@ struct FaviconData {
// Indicates whether the icon is known by the history backend.
bool known_icon;
- // The bits of bitmap.
- scoped_refptr<base::RefCountedMemory> bitmap_data;
-
- // The bitmap's pixel size, or 0 if the bitmap hasn't been resized.
- gfx::Size pixel_size;
+ struct Variant {
+ Variant();
+ ~Variant();
+ // The bits of bitmap.
+ // XXX make this a gfx::Image?
+ scoped_refptr<base::RefCountedMemory> bitmap_data;
+
+ // The bitmap's pixel size, or 0 if the bitmap hasn't been resized.
+ gfx::Size pixel_size;
+ };
+ std::vector<Variant> variants;
// Indicates whether image is expired.
bool expired;
« no previous file with comments | « chrome/browser/history/history_backend.cc ('k') | chrome/browser/history/history_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698