summaryrefslogtreecommitdiffstats
path: root/chrome/service/cloud_print/printer_job_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/service/cloud_print/printer_job_handler.h')
-rw-r--r--chrome/service/cloud_print/printer_job_handler.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/chrome/service/cloud_print/printer_job_handler.h b/chrome/service/cloud_print/printer_job_handler.h
index 08d4d76..ea7e9ec 100644
--- a/chrome/service/cloud_print/printer_job_handler.h
+++ b/chrome/service/cloud_print/printer_job_handler.h
@@ -96,10 +96,15 @@ class PrinterJobHandler : public base::RefCountedThreadSafe<PrinterJobHandler>,
virtual ~Delegate() {}
};
+ struct PrinterInfoFromCloud {
+ std::string printer_id;
+ std::string caps_hash;
+ std::string tags_hash;
+ };
+
// Begin public interface
PrinterJobHandler(const cloud_print::PrinterBasicInfo& printer_info,
- const std::string& printer_id,
- const std::string& caps_hash,
+ const PrinterInfoFromCloud& printer_info_from_server,
const std::string& auth_token,
const GURL& cloud_print_server_url,
cloud_print::PrintSystem* print_system,
@@ -225,9 +230,8 @@ class PrinterJobHandler : public base::RefCountedThreadSafe<PrinterJobHandler>,
scoped_ptr<URLFetcher> request_;
scoped_refptr<cloud_print::PrintSystem> print_system_;
cloud_print::PrinterBasicInfo printer_info_;
- std::string printer_id_;
+ PrinterInfoFromCloud printer_info_cloud_;
std::string auth_token_;
- std::string last_caps_hash_;
GURL cloud_print_server_url_;
std::string print_data_url_;
JobDetails job_details_;