OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef COMPONENTS_FAVICON_CORE_FAVICON_URL_ | |
6 #define COMPONENTS_FAVICON_CORE_FAVICON_URL_ | |
7 | |
8 #include <vector> | |
9 | |
10 #include "components/favicon_base/favicon_types.h" | |
11 #include "ui/gfx/geometry/size.h" | |
12 #include "url/gurl.h" | |
13 | |
14 namespace favicon { | |
15 | |
16 // The favicon url from the render. | |
blundell
2014/05/16 07:28:45
"Stores metadata about a given favicon."
jif
2014/05/16 16:29:35
Done.
| |
17 struct FaviconURL { | |
18 FaviconURL(); | |
19 FaviconURL(const GURL& url, | |
20 favicon_base::IconType type, | |
21 const std::vector<gfx::Size>& sizes); | |
22 ~FaviconURL(); | |
23 | |
24 // The url of the icon. | |
25 GURL icon_url; | |
26 | |
27 // The type of the icon | |
blundell
2014/05/16 07:28:45
nit: add period here and below
jif
2014/05/16 16:29:35
Done.
| |
28 favicon_base::IconType icon_type; | |
29 | |
30 // Icon's bitmaps' size | |
31 std::vector<gfx::Size> icon_sizes; | |
32 }; | |
33 | |
34 } // namespace favicon | |
35 | |
36 #endif // COMPONENTS_FAVICON_CORE_FAVICON_URL_ | |
OLD | NEW |