summaryrefslogtreecommitdiffstats
path: root/chrome/browser/printing/print_job_unittest.cc
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-04 20:07:30 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-04 20:07:30 +0000
commit184a6c8f920ecc6460a34f1a1a67cb2ec41307f7 (patch)
tree5f3d428dcbd5c538cbb796ea872e4339f2ec8630 /chrome/browser/printing/print_job_unittest.cc
parent6d87f0e61c2b6f1a1ce9bea468b910a0ddb9ebc2 (diff)
downloadchromium_src-184a6c8f920ecc6460a34f1a1a67cb2ec41307f7.zip
chromium_src-184a6c8f920ecc6460a34f1a1a67cb2ec41307f7.tar.gz
chromium_src-184a6c8f920ecc6460a34f1a1a67cb2ec41307f7.tar.bz2
Cleanup: Remove dead code - printing::PrintedPagesSource::RenderSourceName() and printing::PrintedDocument::url(). They were only used by the old headers/footers code.
BUG=none TEST=none Review URL: http://codereview.chromium.org/8113029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103970 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/printing/print_job_unittest.cc')
-rw-r--r--chrome/browser/printing/print_job_unittest.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/chrome/browser/printing/print_job_unittest.cc b/chrome/browser/printing/print_job_unittest.cc
index 0994fca..946669a 100644
--- a/chrome/browser/printing/print_job_unittest.cc
+++ b/chrome/browser/printing/print_job_unittest.cc
@@ -9,7 +9,6 @@
#include "chrome/common/chrome_notification_types.h"
#include "content/common/notification_registrar.h"
#include "content/common/notification_service.h"
-#include "googleurl/src/gurl.h"
#include "printing/printed_pages_source.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -17,12 +16,9 @@ namespace {
class TestSource : public printing::PrintedPagesSource {
public:
- virtual string16 RenderSourceName() {
+ virtual string16 RenderSourceName() OVERRIDE {
return string16();
}
- virtual GURL RenderSourceUrl() {
- return GURL();
- }
};
class TestPrintJobWorker : public printing::PrintJobWorker {
@@ -59,6 +55,7 @@ class TestOwner : public printing::PrintJobWorkerOwner {
virtual int cookie() const {
return 42;
}
+
private:
printing::PrintSettings settings_;
};