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

Side by Side Diff: base/strings/string_util_constants.cc

Issue 1169393003: Add new SplitString backend. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « base/strings/string_util.cc ('k') | components/autofill/content/renderer/autofill_agent.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 #include "base/strings/string_util.h" 5 #include "base/strings/string_util.h"
6 6
7 namespace base { 7 namespace base {
8 8
9 #define WHITESPACE_UNICODE \ 9 #define WHITESPACE_UNICODE \
10 0x0009, /* CHARACTER TABULATION */ \ 10 0x0009, /* CHARACTER TABULATION */ \
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 const char kWhitespaceASCII[] = { 45 const char kWhitespaceASCII[] = {
46 0x09, // CHARACTER TABULATION 46 0x09, // CHARACTER TABULATION
47 0x0A, // LINE FEED (LF) 47 0x0A, // LINE FEED (LF)
48 0x0B, // LINE TABULATION 48 0x0B, // LINE TABULATION
49 0x0C, // FORM FEED (FF) 49 0x0C, // FORM FEED (FF)
50 0x0D, // CARRIAGE RETURN (CR) 50 0x0D, // CARRIAGE RETURN (CR)
51 0x20, // SPACE 51 0x20, // SPACE
52 0 52 0
53 }; 53 };
54 54
55 const char16 kWhitespaceASCIIAs16[] = {
56 0x09, // CHARACTER TABULATION
57 0x0A, // LINE FEED (LF)
58 0x0B, // LINE TABULATION
59 0x0C, // FORM FEED (FF)
60 0x0D, // CARRIAGE RETURN (CR)
61 0x20, // SPACE
62 0
63 };
64
55 const char kUtf8ByteOrderMark[] = "\xEF\xBB\xBF"; 65 const char kUtf8ByteOrderMark[] = "\xEF\xBB\xBF";
56 66
57 } // namespace base 67 } // namespace base
OLDNEW
« no previous file with comments | « base/strings/string_util.cc ('k') | components/autofill/content/renderer/autofill_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698