summaryrefslogtreecommitdiffstats
path: root/chrome/service/cloud_print/job_status_updater.cc
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-08 23:10:38 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-08 23:10:38 +0000
commitec561333496a9b4f7f29718aef43094596f2d489 (patch)
treef5111b512fb77bafda5f7a391ae9daca2e6d0379 /chrome/service/cloud_print/job_status_updater.cc
parent48f4490d6f1fac802205fab08fcf2211a8596822 (diff)
downloadchromium_src-ec561333496a9b4f7f29718aef43094596f2d489.zip
chromium_src-ec561333496a9b4f7f29718aef43094596f2d489.tar.gz
chromium_src-ec561333496a9b4f7f29718aef43094596f2d489.tar.bz2
Revert "Redesign cloud printing subsystem layer."
Compile failures. This reverts commit r49200. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49209 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/service/cloud_print/job_status_updater.cc')
-rw-r--r--chrome/service/cloud_print/job_status_updater.cc16
1 files changed, 7 insertions, 9 deletions
diff --git a/chrome/service/cloud_print/job_status_updater.cc b/chrome/service/cloud_print/job_status_updater.cc
index 808b209..9c22f56 100644
--- a/chrome/service/cloud_print/job_status_updater.cc
+++ b/chrome/service/cloud_print/job_status_updater.cc
@@ -13,16 +13,15 @@
#include "googleurl/src/gurl.h"
JobStatusUpdater::JobStatusUpdater(const std::string& printer_name,
- const std::string& job_id,
- cloud_print::PlatformJobId& local_job_id,
- const std::string& auth_token,
- const GURL& cloud_print_server_url,
- cloud_print::PrintSystem* print_system,
- Delegate* delegate)
+ const std::string& job_id,
+ cloud_print::PlatformJobId& local_job_id,
+ const std::string& auth_token,
+ const GURL& cloud_print_server_url,
+ Delegate* delegate)
: printer_name_(printer_name), job_id_(job_id),
local_job_id_(local_job_id), auth_token_(auth_token),
cloud_print_server_url_(cloud_print_server_url),
- print_system_(print_system), delegate_(delegate), stopped_(false) {
+ delegate_(delegate), stopped_(false) {
DCHECK(delegate_);
}
@@ -40,8 +39,7 @@ void JobStatusUpdater::UpdateStatus() {
need_update = true;
} else {
cloud_print::PrintJobDetails details;
- if (print_system_->GetJobDetails(printer_name_, local_job_id_,
- &details)) {
+ if (cloud_print::GetJobDetails(printer_name_, local_job_id_, &details)) {
if (details != last_job_details_) {
last_job_details_ = details;
need_update = true;