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

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

Issue 89243003: Move EmptyString, kWhitespace and the BOM to base. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « base/strings/string_util.cc ('k') | chrome/browser/autocomplete/autocomplete_input.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 {
8
7 #define WHITESPACE_UNICODE \ 9 #define WHITESPACE_UNICODE \
8 0x0009, /* <control-0009> to <control-000D> */ \ 10 0x0009, /* <control-0009> to <control-000D> */ \
9 0x000A, \ 11 0x000A, \
10 0x000B, \ 12 0x000B, \
11 0x000C, \ 13 0x000C, \
12 0x000D, \ 14 0x000D, \
13 0x0020, /* Space */ \ 15 0x0020, /* Space */ \
14 0x0085, /* <control-0085> */ \ 16 0x0085, /* <control-0085> */ \
15 0x00A0, /* No-Break Space */ \ 17 0x00A0, /* No-Break Space */ \
16 0x1680, /* Ogham Space Mark */ \ 18 0x1680, /* Ogham Space Mark */ \
(...skipping 29 matching lines...) Expand all
46 0x09, // <control-0009> to <control-000D> 48 0x09, // <control-0009> to <control-000D>
47 0x0A, 49 0x0A,
48 0x0B, 50 0x0B,
49 0x0C, 51 0x0C,
50 0x0D, 52 0x0D,
51 0x20, // Space 53 0x20, // Space
52 0 54 0
53 }; 55 };
54 56
55 const char kUtf8ByteOrderMark[] = "\xEF\xBB\xBF"; 57 const char kUtf8ByteOrderMark[] = "\xEF\xBB\xBF";
58
59 } // namespace base
OLDNEW
« no previous file with comments | « base/strings/string_util.cc ('k') | chrome/browser/autocomplete/autocomplete_input.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698