Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / components / favicon / ios / favicon_url_util.h
bloba76db0761e8e7f8b7d56fc708cc1eb3589b4e862
1 // Copyright 2015 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_IOS_FAVICON_URL_UTIL_H_
6 #define COMPONENTS_FAVICON_IOS_FAVICON_URL_UTIL_H_
8 #include <vector>
10 namespace web {
11 struct FaviconURL;
14 namespace favicon {
16 struct FaviconURL;
18 // Creates a favicon::FaviconURL from a web::FaviconURL.
19 FaviconURL FaviconURLFromWebFaviconURL(
20 const web::FaviconURL& favicon_url);
22 // Creates favicon::FaviconURLs from web::FaviconURLs.
23 std::vector<FaviconURL> FaviconURLsFromWebFaviconURLs(
24 const std::vector<web::FaviconURL>& favicon_urls);
26 } // namespace favicon
28 #endif // COMPONENTS_FAVICON_IOS_FAVICON_URL_UTIL_H_