Index: components/favicon/core/favicon_url.h |
diff --git a/components/favicon/core/favicon_url.h b/components/favicon/core/favicon_url.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1830fbc5690921cf48430d451cb111195f4d87d7 |
--- /dev/null |
+++ b/components/favicon/core/favicon_url.h |
@@ -0,0 +1,36 @@ |
+// Copyright 2014 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_CORE_FAVICON_URL_ |
+#define COMPONENTS_FAVICON_CORE_FAVICON_URL_ |
+ |
+#include <vector> |
+ |
+#include "components/favicon_base/favicon_types.h" |
+#include "ui/gfx/geometry/size.h" |
+#include "url/gurl.h" |
+ |
+namespace favicon { |
+ |
+// The favicon url from the render. |
blundell
2014/05/16 07:28:45
"Stores metadata about a given favicon."
jif
2014/05/16 16:29:35
Done.
|
+struct FaviconURL { |
+ FaviconURL(); |
+ FaviconURL(const GURL& url, |
+ favicon_base::IconType type, |
+ const std::vector<gfx::Size>& sizes); |
+ ~FaviconURL(); |
+ |
+ // The url of the icon. |
+ GURL icon_url; |
+ |
+ // The type of the icon |
blundell
2014/05/16 07:28:45
nit: add period here and below
jif
2014/05/16 16:29:35
Done.
|
+ favicon_base::IconType icon_type; |
+ |
+ // Icon's bitmaps' size |
+ std::vector<gfx::Size> icon_sizes; |
+}; |
+ |
+} // namespace favicon |
+ |
+#endif // COMPONENTS_FAVICON_CORE_FAVICON_URL_ |