summaryrefslogtreecommitdiffstats
path: root/printing
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-27 18:51:01 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-27 18:51:01 +0000
commitd2f05d07a90cf5c5bad814b603175acaefa254b5 (patch)
tree8e5e8d7724b8b505d418ea01277bc3f305d16182 /printing
parentc3dd6dad0308d941cad3d9e72787177875d065b6 (diff)
downloadchromium_src-d2f05d07a90cf5c5bad814b603175acaefa254b5.zip
chromium_src-d2f05d07a90cf5c5bad814b603175acaefa254b5.tar.gz
chromium_src-d2f05d07a90cf5c5bad814b603175acaefa254b5.tar.bz2
Part 1 of repairing regressions to my old clang check plugins so Nico can
deploy the clang plugins to the waterfall/trybots. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6366019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72846 0039d316-1c4b-4281-b951-d872f2087c98
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();