Roll src/third_party/WebKit f36d5e0:68b67cd (svn 193299:193303)
[chromium-blink-merge.git] / components / favicon / core / favicon_url.h
blob991be6486f28337ee779f8d663ddbd4f75833f8e
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.
5 #ifndef COMPONENTS_FAVICON_CORE_FAVICON_URL_
6 #define COMPONENTS_FAVICON_CORE_FAVICON_URL_
8 #include <vector>
10 #include "components/favicon_base/favicon_types.h"
11 #include "ui/gfx/geometry/size.h"
12 #include "url/gurl.h"
14 namespace favicon {
16 // Stores metadata about a given favicon.
17 struct FaviconURL {
18 FaviconURL();
19 FaviconURL(const GURL& url,
20 favicon_base::IconType type,
21 const std::vector<gfx::Size>& sizes);
22 ~FaviconURL();
24 // The url of the icon.
25 GURL icon_url;
27 // The type of the icon.
28 favicon_base::IconType icon_type;
30 // Icon's bitmaps' size.
31 std::vector<gfx::Size> icon_sizes;
34 } // namespace favicon
36 #endif // COMPONENTS_FAVICON_CORE_FAVICON_URL_