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

Unified Diff: ios/web/public/favicon_url.h

Issue 2541093002: DO NOT COMMIT (Closed)
Patch Set: Created 4 years 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 | « ios/chrome/browser/dom_distiller/dom_distiller_service_factory.cc ('k') | ios/web/public/favicon_url.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/favicon_url.h
diff --git a/ios/web/public/favicon_url.h b/ios/web/public/favicon_url.h
index 765c292e07a16eff11935189042c3952aee79fc0..29ec6350a680c01687f8452ae9a3e0188035abc6 100644
--- a/ios/web/public/favicon_url.h
+++ b/ios/web/public/favicon_url.h
@@ -10,6 +10,10 @@
#include "ui/gfx/geometry/size.h"
#include "url/gurl.h"
+namespace base {
+class ListValue;
+}
+
namespace web {
// The favicon url from the render.
@@ -40,6 +44,11 @@ struct FaviconURL {
std::vector<gfx::Size> icon_sizes;
};
+// Extract the favicons stored in |favicons| using the format: [ {"href":
+// the_url, "rel": favicon_type}, ...] and store them in |result_urls|.
+bool ExtractFaviconURL(base::ListValue* favicons,
+ std::vector<web::FaviconURL>& result_urls);
+
} // namespace web
#endif // IOS_WEB_PUBLIC_FAVICON_URL_
« no previous file with comments | « ios/chrome/browser/dom_distiller/dom_distiller_service_factory.cc ('k') | ios/web/public/favicon_url.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698