Revert of ui: Clean up damaged rects and clear them after painting. (patchset #2...
[chromium-blink-merge.git] / components / favicon / content / favicon_url_util.h
blobba289d854498080c4b3b7ec708b9b9296218edd2
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_CONTENT_FAVICON_URL_UTIL_H_
6 #define COMPONENTS_FAVICON_CONTENT_FAVICON_URL_UTIL_H_
8 #include <vector>
10 namespace content {
11 struct FaviconURL;
14 namespace favicon {
16 struct FaviconURL;
18 // Creates a favicon::FaviconURL from a content::FaviconURL.
19 FaviconURL FaviconURLFromContentFaviconURL(
20 const content::FaviconURL& favicon_url);
22 // Creates favicon::FaviconURLs from content::FaviconURLs.
23 std::vector<FaviconURL> FaviconURLsFromContentFaviconURLs(
24 const std::vector<content::FaviconURL>& favicon_urls);
26 } // namespace favicon
28 #endif // COMPONENTS_FAVICON_CONTENT_FAVICON_URL_UTIL_H_