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

Unified Diff: printing/backend/print_backend_cups.cc

Issue 9516010: Added PrinterDriverInfo and PrintBackend::GetPrinterDriverInfo for windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments Created 8 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 | « printing/backend/print_backend_chromeos.cc ('k') | printing/backend/print_backend_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/backend/print_backend_cups.cc
diff --git a/printing/backend/print_backend_cups.cc b/printing/backend/print_backend_cups.cc
index d5433898fef332512ebc805d9b0fc8148387aa84..736926d9857d49b08a8b8e8856c533dd0c941c20 100644
--- a/printing/backend/print_backend_cups.cc
+++ b/printing/backend/print_backend_cups.cc
@@ -113,6 +113,9 @@ class PrintBackendCUPS : public PrintBackend {
const std::string& printer_name,
PrinterCapsAndDefaults* printer_info) OVERRIDE;
+ virtual bool GetPrinterDriverInfo(const std::string& printer_name,
+ PrinterDriverInfo* driver_info) OVERRIDE;
+
virtual bool IsValidPrinter(const std::string& printer_name) OVERRIDE;
private:
@@ -225,6 +228,12 @@ bool PrintBackendCUPS::GetPrinterCapsAndDefaults(
return res;
}
+bool PrintBackendCUPS::GetPrinterDriverInfo(const std::string& printer_name,
+ PrinterDriverInfo* driver_info) {
+ // TODO(vitalybuka): MAC implementation. http://crbug.com/108194
+ return false;
+}
+
bool PrintBackendCUPS::IsValidPrinter(const std::string& printer_name) {
// This is not very efficient way to get specific printer info. CUPS 1.4
// supports cupsGetNamedDest() function. However, CUPS 1.4 is not available
« no previous file with comments | « printing/backend/print_backend_chromeos.cc ('k') | printing/backend/print_backend_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698