Vectorize website settings icons in omnibox
[chromium-blink-merge.git] / components / favicon_base / favicon_usage_data.h
blobc616728c04d213bf8f2ad668f951bd108fba4ac5
1 // Copyright 2013 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_BASE_FAVICON_USAGE_DATA_H_
6 #define COMPONENTS_FAVICON_BASE_FAVICON_USAGE_DATA_H_
8 #include <set>
9 #include <vector>
11 #include "url/gurl.h"
13 namespace favicon_base {
15 // Used to correlate favicons to imported bookmarks.
16 struct FaviconUsageData {
17 FaviconUsageData();
18 ~FaviconUsageData();
20 // The URL of the favicon.
21 GURL favicon_url;
23 // The raw png-encoded data.
24 std::vector<unsigned char> png_data;
26 // The list of URLs using this favicon.
27 std::set<GURL> urls;
30 typedef std::vector<FaviconUsageData> FaviconUsageDataList;
32 } // namespace favicon_base
34 #endif // COMPONENTS_FAVICON_BASE_FAVICON_USAGE_DATA_H_