Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5920)

Unified Diff: chrome/service/cloud_print/cloud_print_proxy_backend.cc

Issue 6523040: Added support to the Windows cloud print proxy to print XPS documents directl... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Code review changes Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/service/cloud_print/cloud_print_url_fetcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/cloud_print/cloud_print_proxy_backend.cc
===================================================================
--- chrome/service/cloud_print/cloud_print_proxy_backend.cc (revision 74874)
+++ chrome/service/cloud_print/cloud_print_proxy_backend.cc (working copy)
@@ -475,8 +475,11 @@
next_response_handler_ =
&CloudPrintProxyBackend::Core::HandlePrinterListResponse;
request_ = new CloudPrintURLFetcher;
- request_->StartGetRequest(printer_list_url, this, auth_token_,
- kCloudPrintAPIMaxRetryCount);
+ request_->StartGetRequest(printer_list_url,
+ this,
+ auth_token_,
+ kCloudPrintAPIMaxRetryCount,
+ std::string());
}
void CloudPrintProxyBackend::Core::RegisterNextPrinter() {
@@ -565,9 +568,13 @@
std::string mime_type("multipart/form-data; boundary=");
mime_type += mime_boundary;
request_ = new CloudPrintURLFetcher;
- request_->StartPostRequest(post_url, this, auth_token_,
- kCloudPrintAPIMaxRetryCount, mime_type,
- post_data);
+ request_->StartPostRequest(post_url,
+ this,
+ auth_token_,
+ kCloudPrintAPIMaxRetryCount,
+ mime_type,
+ post_data,
+ std::string());
} else {
LOG(ERROR) << "CP_PROXY: Failed to get printer info for: " <<
printer_name;
@@ -774,9 +781,13 @@
std::string mime_type("multipart/form-data; boundary=");
mime_type += mime_boundary;
request_ = new CloudPrintURLFetcher;
- request_->StartPostRequest(post_url, this, auth_token_,
- kCloudPrintAPIMaxRetryCount, mime_type,
- post_data);
+ request_->StartPostRequest(post_url,
+ this,
+ auth_token_,
+ kCloudPrintAPIMaxRetryCount,
+ mime_type,
+ post_data,
+ std::string());
}
CloudPrintURLFetcher::ResponseAction
« no previous file with comments | « no previous file | chrome/service/cloud_print/cloud_print_url_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698