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

Side by Side Diff: android_webview/browser/address_parser.cc

Issue 2863233002: [WebView] Move files from native to browser (Closed)
Patch Set: Created 3 years, 7 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
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 "android_webview/native/address_parser.h" 5 #include "android_webview/browser/address_parser.h"
6 6
7 #include "android_webview/native/address_parser_internal.h" 7 #include "android_webview/browser/address_parser_internal.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 10
11 namespace { 11 namespace {
12 12
13 // Minimum number of words in an address after the house number 13 // Minimum number of words in an address after the house number
14 // before a state is expected to be found. 14 // before a state is expected to be found.
15 // A value too high can miss short addresses. 15 // A value too high can miss short addresses.
16 const size_t kMinAddressWords = 3; 16 const size_t kMinAddressWords = 3;
17 17
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 it = words[next_word].end; 216 it = words[next_word].end;
217 } 217 }
218 } 218 }
219 219
220 return false; 220 return false;
221 } 221 }
222 222
223 } // namespace address_parser 223 } // namespace address_parser
224 224
225 } // namespace android_webview 225 } // namespace android_webview
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698