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

Unified Diff: printing/backend/print_backend.h

Issue 9618032: GetPrinterDriverInfo returns string. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 | printing/backend/print_backend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/backend/print_backend.h
diff --git a/printing/backend/print_backend.h b/printing/backend/print_backend.h
index 878bb2536a5e36910c0fcf14c5f36990c90259fc..59b16aa1b6e71b010b33dc4c0955ef79094f8491 100644
--- a/printing/backend/print_backend.h
+++ b/printing/backend/print_backend.h
@@ -43,16 +43,6 @@ struct PRINTING_EXPORT PrinterCapsAndDefaults {
std::string defaults_mime_type;
};
-struct PRINTING_EXPORT PrinterDriverInfo {
- PrinterDriverInfo();
- ~PrinterDriverInfo();
-
- std::string driver_name;
- std::string driver_version;
- std::string product_name;
- std::string product_version;
-};
-
// PrintBackend class will provide interface for different print backends
// (Windows, CUPS) to implement. User will call CreateInstance() to
// obtain available print backend.
@@ -79,7 +69,7 @@ class PRINTING_EXPORT PrintBackend
// Gets the information about driver for a specific printer.
virtual bool GetPrinterDriverInfo(
const std::string& printer_name,
- PrinterDriverInfo* driver_info) = 0;
+ std::string* driver_info) = 0;
// Returns true if printer_name points to a valid printer.
virtual bool IsValidPrinter(const std::string& printer_name) = 0;
« no previous file with comments | « no previous file | printing/backend/print_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698