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

Unified Diff: printing/backend/print_backend.h

Issue 10941025: Simplify document title for Windows printing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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
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.

Powered by Google App Engine
This is Rietveld 408576698