1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef PRINTING_PRINTING_UTILS_H_
6 #define PRINTING_PRINTING_UTILS_H_
10 #include "base/strings/string16.h"
11 #include "printing/printing_export.h"
15 // Simplify title to resolve issue with some drivers.
16 PRINTING_EXPORT base::string16 SimplifyDocumentTitle(
17 const base::string16& title);
19 PRINTING_EXPORT base::string16 SimplifyDocumentTitleWithLength(
20 const base::string16& title,
23 PRINTING_EXPORT base::string16 FormatDocumentTitleWithOwner(
24 const base::string16& owner,
25 const base::string16& title);
27 PRINTING_EXPORT base::string16 FormatDocumentTitleWithOwnerAndLength(
28 const base::string16& owner,
29 const base::string16& title,
32 } // namespace printing
34 #endif // PRINTING_PRINTING_UTILS_H_