OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/public/common/favicon_url.h" | 5 #include "components/favicon/core/favicon_url.h" |
6 | 6 |
7 namespace content { | 7 namespace favicon { |
8 | 8 |
9 FaviconURL::FaviconURL() | 9 FaviconURL::FaviconURL() |
10 : icon_type(INVALID_ICON) { | 10 : icon_type(favicon_base::INVALID_ICON) { |
11 } | 11 } |
12 | 12 |
13 FaviconURL::FaviconURL(const GURL& url, | 13 FaviconURL::FaviconURL(const GURL& url, |
14 IconType type, | 14 favicon_base::IconType type, |
15 const std::vector<gfx::Size>& sizes) | 15 const std::vector<gfx::Size>& sizes) |
16 : icon_url(url), icon_type(type), icon_sizes(sizes) {} | 16 : icon_url(url), icon_type(type), icon_sizes(sizes) {} |
17 | 17 |
18 FaviconURL::~FaviconURL() { | 18 FaviconURL::~FaviconURL() { |
19 } | 19 } |
20 | 20 |
21 } // namespace content | 21 } // namespace favicon |
OLD | NEW |