OLD | NEW |
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 CONTENT_PUBLIC_BROWSER_FAVICON_STATUS_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_FAVICON_STATUS_H_ |
6 #define CONTENT_PUBLIC_BROWSER_FAVICON_STATUS_H_ | 6 #define CONTENT_PUBLIC_BROWSER_FAVICON_STATUS_H_ |
7 #pragma once | |
8 | 7 |
9 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
10 #include "googleurl/src/gurl.h" | 9 #include "googleurl/src/gurl.h" |
11 #include "third_party/skia/include/core/SkBitmap.h" | 10 #include "third_party/skia/include/core/SkBitmap.h" |
12 | 11 |
13 namespace content { | 12 namespace content { |
14 | 13 |
15 // Collects the favicon related information for a NavigationEntry. | 14 // Collects the favicon related information for a NavigationEntry. |
16 struct CONTENT_EXPORT FaviconStatus { | 15 struct CONTENT_EXPORT FaviconStatus { |
17 FaviconStatus(); | 16 FaviconStatus(); |
(...skipping 10 matching lines...) Expand all Loading... |
28 // loaded asynchronously, so even if the favicon URL is valid we may return | 27 // loaded asynchronously, so even if the favicon URL is valid we may return |
29 // the default favicon if we haven't gotten the data yet. | 28 // the default favicon if we haven't gotten the data yet. |
30 SkBitmap bitmap; | 29 SkBitmap bitmap; |
31 | 30 |
32 // Copy and assignment is explicitly allowed for this struct. | 31 // Copy and assignment is explicitly allowed for this struct. |
33 }; | 32 }; |
34 | 33 |
35 } // namespace content | 34 } // namespace content |
36 | 35 |
37 #endif // CONTENT_PUBLIC_BROWSER_FAVICON_STATUS_H_ | 36 #endif // CONTENT_PUBLIC_BROWSER_FAVICON_STATUS_H_ |
OLD | NEW |