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

Side by Side Diff: content/common/android/address_parser.cc

Issue 113403006: Update some uses of char16 to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « content/browser/webui/web_ui_impl.cc ('k') | content/common/android/address_parser_internal.h » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/common/android/address_parser.h" 5 #include "content/common/android/address_parser.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/strings/string_util.h" 8 #include "base/strings/string_util.h"
9 #include "content/common/android/address_parser_internal.h" 9 #include "content/common/android/address_parser_internal.h"
10 10
(...skipping 14 matching lines...) Expand all
25 25
26 // Maximum length allowed for any address word between the house number 26 // Maximum length allowed for any address word between the house number
27 // and the state, both not included. 27 // and the state, both not included.
28 const size_t kMaxAddressNameWordLength = 25; 28 const size_t kMaxAddressNameWordLength = 25;
29 29
30 // Maximum number of words after the house number in which the location name 30 // Maximum number of words after the house number in which the location name
31 // should be found. 31 // should be found.
32 const size_t kMaxLocationNameDistance = 4; 32 const size_t kMaxLocationNameDistance = 4;
33 33
34 // Additional characters used as new line delimiters. 34 // Additional characters used as new line delimiters.
35 const char16 kNewlineDelimiters[] = { 35 const base::char16 kNewlineDelimiters[] = {
36 '\n', 36 '\n',
37 ',', 37 ',',
38 '*', 38 '*',
39 0x2022, // Unicode bullet 39 0x2022, // Unicode bullet
40 0, 40 0,
41 }; 41 };
42 42
43 } // anonymous namespace 43 } // anonymous namespace
44 44
45 namespace content { 45 namespace content {
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 it = words[next_word].end; 210 it = words[next_word].end;
211 } 211 }
212 } 212 }
213 213
214 return false; 214 return false;
215 } 215 }
216 216
217 } // namespace address_parser 217 } // namespace address_parser
218 218
219 } // namespace content 219 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/webui/web_ui_impl.cc ('k') | content/common/android/address_parser_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698