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

Unified Diff: printing/printing_utils.h

Issue 1212883003: Include user email into document title before spooling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tue Jul 7 10:19:02 PDT 2015 Created 5 years, 5 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 | « chrome/service/cloud_print/printer_job_queue_handler.cc ('k') | printing/printing_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/printing_utils.h
diff --git a/printing/printing_utils.h b/printing/printing_utils.h
index 958a3f52c374c91a5622a7d2030fba69a7e0e3c8..e307350b148d8b03a4f127e34e909c8b759b1724 100644
--- a/printing/printing_utils.h
+++ b/printing/printing_utils.h
@@ -14,6 +14,19 @@ namespace printing {
PRINTING_EXPORT base::string16 SimplifyDocumentTitle(
const base::string16& title);
+PRINTING_EXPORT base::string16 SimplifyDocumentTitleWithLength(
+ const base::string16& title,
+ size_t length);
+
+PRINTING_EXPORT base::string16 FormatDocumentTitleWithOwner(
+ const base::string16& owner,
+ const base::string16& title);
+
+PRINTING_EXPORT base::string16 FormatDocumentTitleWithOwnerAndLength(
+ const base::string16& owner,
+ const base::string16& title,
+ size_t length);
+
} // namespace printing
#endif // PRINTING_PRINTING_UTILS_H_
« no previous file with comments | « chrome/service/cloud_print/printer_job_queue_handler.cc ('k') | printing/printing_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698