OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_FAVICON_BASE_FAVICON_TYPES_H_ | 5 #ifndef COMPONENTS_FAVICON_BASE_FAVICON_TYPES_H_ |
6 #define COMPONENTS_FAVICON_BASE_FAVICON_TYPES_H_ | 6 #define COMPONENTS_FAVICON_BASE_FAVICON_TYPES_H_ |
7 | 7 |
8 #include "base/memory/ref_counted_memory.h" | 8 #include "base/memory/ref_counted_memory.h" |
| 9 #include "ui/gfx/geometry/size.h" |
9 #include "ui/gfx/image/image.h" | 10 #include "ui/gfx/image/image.h" |
10 #include "ui/gfx/size.h" | |
11 #include "url/gurl.h" | 11 #include "url/gurl.h" |
12 | 12 |
13 namespace favicon_base { | 13 namespace favicon_base { |
14 | 14 |
15 typedef int64 FaviconID; | 15 typedef int64 FaviconID; |
16 | 16 |
17 // Defines the icon types. They are also stored in icon_type field of favicons | 17 // Defines the icon types. They are also stored in icon_type field of favicons |
18 // table. | 18 // table. |
19 // The values of the IconTypes are used to select the priority in which favicon | 19 // The values of the IconTypes are used to select the priority in which favicon |
20 // data is returned in HistoryBackend and ThumbnailDatabase. Data for the | 20 // data is returned in HistoryBackend and ThumbnailDatabase. Data for the |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 IconType icon_type; | 68 IconType icon_type; |
69 }; | 69 }; |
70 | 70 |
71 // Define type with same structure as FaviconRawBitmapResult for passing data to | 71 // Define type with same structure as FaviconRawBitmapResult for passing data to |
72 // HistoryBackend::SetFavicons(). | 72 // HistoryBackend::SetFavicons(). |
73 typedef FaviconRawBitmapResult FaviconRawBitmapData; | 73 typedef FaviconRawBitmapResult FaviconRawBitmapData; |
74 | 74 |
75 } // namespace favicon_base | 75 } // namespace favicon_base |
76 | 76 |
77 #endif // COMPONENTS_FAVICON_BASE_FAVICON_TYPES_H_ | 77 #endif // COMPONENTS_FAVICON_BASE_FAVICON_TYPES_H_ |
OLD | NEW |