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

Side by Side Diff: components/favicon/core/favicon_url.cc

Issue 1728033002: components: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 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 "components/favicon/core/favicon_url.h" 5 #include "components/favicon/core/favicon_url.h"
6 6
7 namespace favicon { 7 namespace favicon {
8 8
9 FaviconURL::FaviconURL() : icon_type(favicon_base::INVALID_ICON) { 9 FaviconURL::FaviconURL() : icon_type(favicon_base::INVALID_ICON) {
10 } 10 }
11 11
12 FaviconURL::FaviconURL(const GURL& url, 12 FaviconURL::FaviconURL(const GURL& url,
13 favicon_base::IconType type, 13 favicon_base::IconType type,
14 const std::vector<gfx::Size>& sizes) 14 const std::vector<gfx::Size>& sizes)
15 : icon_url(url), icon_type(type), icon_sizes(sizes) { 15 : icon_url(url), icon_type(type), icon_sizes(sizes) {
16 } 16 }
17 17
18 FaviconURL::FaviconURL(const FaviconURL& other) = default;
19
18 FaviconURL::~FaviconURL() { 20 FaviconURL::~FaviconURL() {
19 } 21 }
20 22
21 } // namespace favicon 23 } // namespace favicon
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698