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

Side by Side Diff: content/public/common/favicon_url.cc

Issue 2918903002: Move IconURLs method from WebFrame to WebLocalFrame (Closed)
Patch Set: s/kFavIcon/kFavicon/g (as suggested in CR feedback from pkotwicz@). Created 3 years, 6 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 unified diff | Download patch
« no previous file with comments | « content/public/common/favicon_url.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "content/public/common/favicon_url.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 FaviconURL::FaviconURL() 9 FaviconURL::FaviconURL() : icon_type(IconType::kInvalid) {}
10 : icon_type(INVALID_ICON) {
11 }
12 10
13 FaviconURL::FaviconURL(const GURL& url, 11 FaviconURL::FaviconURL(const GURL& url,
14 IconType type, 12 IconType type,
15 const std::vector<gfx::Size>& sizes) 13 const std::vector<gfx::Size>& sizes)
16 : icon_url(url), icon_type(type), icon_sizes(sizes) {} 14 : icon_url(url), icon_type(type), icon_sizes(sizes) {}
17 15
18 FaviconURL::FaviconURL(const FaviconURL& other) = default; 16 FaviconURL::FaviconURL(const FaviconURL& other) = default;
19 17
20 FaviconURL::~FaviconURL() { 18 FaviconURL::~FaviconURL() {
21 } 19 }
22 20
23 } // namespace content 21 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/favicon_url.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698