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

Side by Side Diff: components/favicon_base/favicon_types.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, 10 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_base/favicon_types.h" 5 #include "components/favicon_base/favicon_types.h"
6 6
7 #include "components/favicon_base/fallback_icon_style.h" 7 #include "components/favicon_base/fallback_icon_style.h"
8 8
9 namespace favicon_base { 9 namespace favicon_base {
10 10
11 // --------------------------------------------------------- 11 // ---------------------------------------------------------
12 // FaviconImageResult 12 // FaviconImageResult
13 13
14 FaviconImageResult::FaviconImageResult() {} 14 FaviconImageResult::FaviconImageResult() {}
15 15
16 FaviconImageResult::~FaviconImageResult() {} 16 FaviconImageResult::~FaviconImageResult() {}
17 17
18 // -------------------------------------------------------- 18 // --------------------------------------------------------
19 // FaviconRawBitmapResult 19 // FaviconRawBitmapResult
20 20
21 FaviconRawBitmapResult::FaviconRawBitmapResult() 21 FaviconRawBitmapResult::FaviconRawBitmapResult()
22 : expired(false), icon_type(INVALID_ICON) { 22 : expired(false), icon_type(INVALID_ICON) {
23 } 23 }
24 24
25 FaviconRawBitmapResult::FaviconRawBitmapResult(
26 const FaviconRawBitmapResult& other) = default;
27
25 FaviconRawBitmapResult::~FaviconRawBitmapResult() {} 28 FaviconRawBitmapResult::~FaviconRawBitmapResult() {}
26 29
27 // -------------------------------------------------------- 30 // --------------------------------------------------------
28 // LargeIconResult 31 // LargeIconResult
29 32
30 LargeIconResult::LargeIconResult(const FaviconRawBitmapResult& bitmap_in) 33 LargeIconResult::LargeIconResult(const FaviconRawBitmapResult& bitmap_in)
31 : bitmap(bitmap_in) {} 34 : bitmap(bitmap_in) {}
32 35
33 LargeIconResult::LargeIconResult(FallbackIconStyle* fallback_icon_style_in) 36 LargeIconResult::LargeIconResult(FallbackIconStyle* fallback_icon_style_in)
34 : fallback_icon_style(fallback_icon_style_in) {} 37 : fallback_icon_style(fallback_icon_style_in) {}
35 38
36 LargeIconResult::~LargeIconResult() {} 39 LargeIconResult::~LargeIconResult() {}
37 40
38 } // namespace favicon_base 41 } // namespace favicon_base
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698