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

Side by Side Diff: components/favicon/core/favicon_url.h

Issue 284183004: Create favicon_url mirror in components/favicon. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Alphabet. Created 6 years, 7 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 unified diff | Download patch
OLDNEW
(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 // 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();
23
24 // The url of the icon.
25 GURL icon_url;
26
27 // The type of the icon.
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698