summaryrefslogtreecommitdiff
path: root/chromium/components/favicon/ios/favicon_url_util.h
blob: a76db0761e8e7f8b7d56fc708cc1eb3589b4e862 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_FAVICON_IOS_FAVICON_URL_UTIL_H_
#define COMPONENTS_FAVICON_IOS_FAVICON_URL_UTIL_H_

#include <vector>

namespace web {
struct FaviconURL;
}

namespace favicon {

struct FaviconURL;

// Creates a favicon::FaviconURL from a web::FaviconURL.
FaviconURL FaviconURLFromWebFaviconURL(
    const web::FaviconURL& favicon_url);

// Creates favicon::FaviconURLs from web::FaviconURLs.
std::vector<FaviconURL> FaviconURLsFromWebFaviconURLs(
    const std::vector<web::FaviconURL>& favicon_urls);

}  // namespace favicon

#endif  // COMPONENTS_FAVICON_IOS_FAVICON_URL_UTIL_H_