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

Unified Diff: components/favicon/content/favicon_url_util.h

Issue 1020213002: Componentize conversion of content::FaviconURL to favicon::FaviconURL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@browser
Patch Set: Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/favicon/content/DEPS ('k') | components/favicon/content/favicon_url_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/favicon/content/favicon_url_util.h
diff --git a/components/favicon/content/favicon_url_util.h b/components/favicon/content/favicon_url_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..ba289d854498080c4b3b7ec708b9b9296218edd2
--- /dev/null
+++ b/components/favicon/content/favicon_url_util.h
@@ -0,0 +1,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_CONTENT_FAVICON_URL_UTIL_H_
+#define COMPONENTS_FAVICON_CONTENT_FAVICON_URL_UTIL_H_
+
+#include <vector>
+
+namespace content {
+struct FaviconURL;
+}
+
+namespace favicon {
+
+struct FaviconURL;
+
+// Creates a favicon::FaviconURL from a content::FaviconURL.
+FaviconURL FaviconURLFromContentFaviconURL(
+ const content::FaviconURL& favicon_url);
+
+// Creates favicon::FaviconURLs from content::FaviconURLs.
+std::vector<FaviconURL> FaviconURLsFromContentFaviconURLs(
+ const std::vector<content::FaviconURL>& favicon_urls);
+
+} // namespace favicon
+
+#endif // COMPONENTS_FAVICON_CONTENT_FAVICON_URL_UTIL_H_
« no previous file with comments | « components/favicon/content/DEPS ('k') | components/favicon/content/favicon_url_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698