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

Side by Side Diff: printing/printing_utils.h

Issue 1544623002: Switch to standard integer types in printing/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 unified diff | Download patch
« no previous file with comments | « printing/printing_test.h ('k') | printing/printing_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PRINTING_PRINTING_UTILS_H_ 5 #ifndef PRINTING_PRINTING_UTILS_H_
6 #define PRINTING_PRINTING_UTILS_H_ 6 #define PRINTING_PRINTING_UTILS_H_
7 7
8 #include <stddef.h>
9
8 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
9 #include "printing/printing_export.h" 11 #include "printing/printing_export.h"
10 12
11 namespace printing { 13 namespace printing {
12 14
13 // Simplify title to resolve issue with some drivers. 15 // Simplify title to resolve issue with some drivers.
14 PRINTING_EXPORT base::string16 SimplifyDocumentTitle( 16 PRINTING_EXPORT base::string16 SimplifyDocumentTitle(
15 const base::string16& title); 17 const base::string16& title);
16 18
17 PRINTING_EXPORT base::string16 SimplifyDocumentTitleWithLength( 19 PRINTING_EXPORT base::string16 SimplifyDocumentTitleWithLength(
18 const base::string16& title, 20 const base::string16& title,
19 size_t length); 21 size_t length);
20 22
21 PRINTING_EXPORT base::string16 FormatDocumentTitleWithOwner( 23 PRINTING_EXPORT base::string16 FormatDocumentTitleWithOwner(
22 const base::string16& owner, 24 const base::string16& owner,
23 const base::string16& title); 25 const base::string16& title);
24 26
25 PRINTING_EXPORT base::string16 FormatDocumentTitleWithOwnerAndLength( 27 PRINTING_EXPORT base::string16 FormatDocumentTitleWithOwnerAndLength(
26 const base::string16& owner, 28 const base::string16& owner,
27 const base::string16& title, 29 const base::string16& title,
28 size_t length); 30 size_t length);
29 31
30 } // namespace printing 32 } // namespace printing
31 33
32 #endif // PRINTING_PRINTING_UTILS_H_ 34 #endif // PRINTING_PRINTING_UTILS_H_
OLDNEW
« no previous file with comments | « printing/printing_test.h ('k') | printing/printing_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698