Chromium Code Reviews| Index: printing/backend/print_backend.h |
| diff --git a/printing/backend/print_backend.h b/printing/backend/print_backend.h |
| index 3cbf162fce158bb9df2106ae6bde170754fe4af1..9c73ae710a8dac97caa54f453b5193a1de9c7dfd 100644 |
| --- a/printing/backend/print_backend.h |
| +++ b/printing/backend/print_backend.h |
| @@ -10,6 +10,7 @@ |
| #include <vector> |
| #include "base/memory/ref_counted.h" |
| +#include "base/string16.h" |
| #include "printing/print_job_constants.h" |
| #include "printing/printing_export.h" |
| @@ -92,6 +93,9 @@ class PRINTING_EXPORT PrintBackend |
| // Returns true if printer_name points to a valid printer. |
| virtual bool IsValidPrinter(const std::string& printer_name) = 0; |
| + // Simplify title to resolve issue with some drivers on Windows. |
|
Albert Bodenhamer
2012/09/20 00:25:20
nit: Change is no longer Win specific.
Vitaly Buka (NO REVIEWS)
2012/09/20 00:28:44
Done.
|
| + static string16 SimplifyDocumentTitle(const string16& title); |
| + |
| // Allocate a print backend. If |print_backend_settings| is NULL, default |
| // settings will be used. |
| // Return NULL if no print backend available. |