| Index: printing/backend/cups_helper.cc
|
| ===================================================================
|
| --- printing/backend/cups_helper.cc (revision 137176)
|
| +++ printing/backend/cups_helper.cc (working copy)
|
| @@ -14,7 +14,8 @@
|
|
|
| // Helper wrapper around http_t structure, with connection and cleanup
|
| // functionality.
|
| -HttpConnectionCUPS::HttpConnectionCUPS(const GURL& print_server_url)
|
| +HttpConnectionCUPS::HttpConnectionCUPS(const GURL& print_server_url,
|
| + http_encryption_t encryption)
|
| : http_(NULL) {
|
| // If we have an empty url, use default print server.
|
| if (print_server_url.is_empty())
|
| @@ -25,7 +26,7 @@
|
| port = kDefaultIPPServerPort;
|
|
|
| http_ = httpConnectEncrypt(print_server_url.host().c_str(), port,
|
| - HTTP_ENCRYPT_NEVER);
|
| + encryption);
|
| if (http_ == NULL) {
|
| LOG(ERROR) << "CP_CUPS: Failed connecting to print server: " <<
|
| print_server_url;
|
|
|