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

Side by Side Diff: printing/backend/print_backend.cc

Issue 1731423002: printing: 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
« no previous file with comments | « printing/backend/print_backend.h ('k') | printing/page_setup.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "printing/backend/print_backend.h" 5 #include "printing/backend/print_backend.h"
6 6
7 namespace printing { 7 namespace printing {
8 8
9 PrinterBasicInfo::PrinterBasicInfo() 9 PrinterBasicInfo::PrinterBasicInfo()
10 : printer_status(0), 10 : printer_status(0),
11 is_default(false) {} 11 is_default(false) {}
12 12
13 PrinterBasicInfo::PrinterBasicInfo(const PrinterBasicInfo& other) = default;
14
13 PrinterBasicInfo::~PrinterBasicInfo() {} 15 PrinterBasicInfo::~PrinterBasicInfo() {}
14 16
15 PrinterSemanticCapsAndDefaults::PrinterSemanticCapsAndDefaults() 17 PrinterSemanticCapsAndDefaults::PrinterSemanticCapsAndDefaults()
16 : collate_capable(false), 18 : collate_capable(false),
17 collate_default(false), 19 collate_default(false),
18 copies_capable(false), 20 copies_capable(false),
19 duplex_capable(false), 21 duplex_capable(false),
20 duplex_default(UNKNOWN_DUPLEX_MODE), 22 duplex_default(UNKNOWN_DUPLEX_MODE),
21 color_changeable(false), 23 color_changeable(false),
22 color_default(false), 24 color_default(false),
23 color_model(UNKNOWN_COLOR_MODEL), 25 color_model(UNKNOWN_COLOR_MODEL),
24 bw_model(UNKNOWN_COLOR_MODEL) 26 bw_model(UNKNOWN_COLOR_MODEL)
25 {} 27 {}
26 28
27 PrinterSemanticCapsAndDefaults::~PrinterSemanticCapsAndDefaults() {} 29 PrinterSemanticCapsAndDefaults::~PrinterSemanticCapsAndDefaults() {}
28 30
29 PrinterCapsAndDefaults::PrinterCapsAndDefaults() {} 31 PrinterCapsAndDefaults::PrinterCapsAndDefaults() {}
30 32
33 PrinterCapsAndDefaults::PrinterCapsAndDefaults(
34 const PrinterCapsAndDefaults& other) = default;
35
31 PrinterCapsAndDefaults::~PrinterCapsAndDefaults() {} 36 PrinterCapsAndDefaults::~PrinterCapsAndDefaults() {}
32 37
33 PrintBackend::~PrintBackend() {} 38 PrintBackend::~PrintBackend() {}
34 39
35 } // namespace printing 40 } // namespace printing
OLDNEW
« no previous file with comments | « printing/backend/print_backend.h ('k') | printing/page_setup.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698