summaryrefslogtreecommitdiffstats
path: root/printing
diff options
context:
space:
mode:
Diffstat (limited to 'printing')
-rw-r--r--printing/backend/print_backend.cc4
-rw-r--r--printing/backend/print_backend.h3
-rw-r--r--printing/page_overlays.cc2
-rw-r--r--printing/page_overlays.h1
-rw-r--r--printing/page_setup.cc2
-rw-r--r--printing/page_setup.h1
6 files changed, 13 insertions, 0 deletions
diff --git a/printing/backend/print_backend.cc b/printing/backend/print_backend.cc
index 307897d..e120669 100644
--- a/printing/backend/print_backend.cc
+++ b/printing/backend/print_backend.cc
@@ -10,6 +10,10 @@ PrinterBasicInfo::PrinterBasicInfo() : printer_status(0) {}
PrinterBasicInfo::~PrinterBasicInfo() {}
+PrinterCapsAndDefaults::PrinterCapsAndDefaults() {}
+
+PrinterCapsAndDefaults::~PrinterCapsAndDefaults() {}
+
PrintBackend::~PrintBackend() {}
} // namespace printing
diff --git a/printing/backend/print_backend.h b/printing/backend/print_backend.h
index 63c00c9..befeb26 100644
--- a/printing/backend/print_backend.h
+++ b/printing/backend/print_backend.h
@@ -30,6 +30,9 @@ struct PrinterBasicInfo {
typedef std::vector<PrinterBasicInfo> PrinterList;
struct PrinterCapsAndDefaults {
+ PrinterCapsAndDefaults();
+ ~PrinterCapsAndDefaults();
+
std::string printer_capabilities;
std::string caps_mime_type;
std::string printer_defaults;
diff --git a/printing/page_overlays.cc b/printing/page_overlays.cc
index f6a7c28..857fa39 100644
--- a/printing/page_overlays.cc
+++ b/printing/page_overlays.cc
@@ -44,6 +44,8 @@ PageOverlays::PageOverlays()
bottom_right(kPageOnTotal) {
}
+PageOverlays::~PageOverlays() {}
+
bool PageOverlays::Equals(const PageOverlays& rhs) const {
return top_left == rhs.top_left &&
top_center == rhs.top_center &&
diff --git a/printing/page_overlays.h b/printing/page_overlays.h
index 0ffc1ba..c002fb3 100644
--- a/printing/page_overlays.h
+++ b/printing/page_overlays.h
@@ -31,6 +31,7 @@ class PageOverlays {
};
PageOverlays();
+ ~PageOverlays();
// Equality operator.
bool Equals(const PageOverlays& rhs) const;
diff --git a/printing/page_setup.cc b/printing/page_setup.cc
index adc285b..6d4ef1d 100644
--- a/printing/page_setup.cc
+++ b/printing/page_setup.cc
@@ -38,6 +38,8 @@ bool PageMargins::Equals(const PageMargins& rhs) const {
PageSetup::PageSetup() : text_height_(0) {
}
+PageSetup::~PageSetup() {}
+
void PageSetup::Clear() {
physical_size_.SetSize(0, 0);
printable_area_.SetRect(0, 0, 0, 0);
diff --git a/printing/page_setup.h b/printing/page_setup.h
index a661fdb..a4a8680 100644
--- a/printing/page_setup.h
+++ b/printing/page_setup.h
@@ -35,6 +35,7 @@ class PageMargins {
class PageSetup {
public:
PageSetup();
+ ~PageSetup();
void Clear();