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

Side by Side Diff: content/common/android/address_parser_internal.h

Issue 1867153002: content: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « no previous file | content/common/android/address_parser_internal.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 (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 #ifndef CONTENT_COMMON_ANDROID_ADDRESS_PARSER_INTERNAL_H_ 5 #ifndef CONTENT_COMMON_ANDROID_ADDRESS_PARSER_INTERNAL_H_
6 #define CONTENT_COMMON_ANDROID_ADDRESS_PARSER_INTERNAL_H_ 6 #define CONTENT_COMMON_ANDROID_ADDRESS_PARSER_INTERNAL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 10 matching lines...) Expand all
21 namespace internal { 21 namespace internal {
22 22
23 // Exposed for tests. 23 // Exposed for tests.
24 struct CONTENT_EXPORT Word { 24 struct CONTENT_EXPORT Word {
25 base::string16::const_iterator begin; 25 base::string16::const_iterator begin;
26 base::string16::const_iterator end; 26 base::string16::const_iterator end;
27 27
28 Word(); 28 Word();
29 Word(const base::string16::const_iterator& begin, 29 Word(const base::string16::const_iterator& begin,
30 const base::string16::const_iterator& end); 30 const base::string16::const_iterator& end);
31 Word(const Word& other);
31 }; 32 };
32 33
33 // Exposed for tests. 34 // Exposed for tests.
34 class CONTENT_EXPORT HouseNumberParser { 35 class CONTENT_EXPORT HouseNumberParser {
35 public: 36 public:
36 HouseNumberParser(); 37 HouseNumberParser();
37 38
38 bool Parse(const base::string16::const_iterator& begin, 39 bool Parse(const base::string16::const_iterator& begin,
39 const base::string16::const_iterator& end, 40 const base::string16::const_iterator& end,
40 Word* word); 41 Word* word);
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 CONTENT_EXPORT bool IsZipValid(const Word& word, size_t state_index); 81 CONTENT_EXPORT bool IsZipValid(const Word& word, size_t state_index);
81 CONTENT_EXPORT bool IsZipValidForState(const Word& word, size_t state_index); 82 CONTENT_EXPORT bool IsZipValidForState(const Word& word, size_t state_index);
82 83
83 } // namespace internal 84 } // namespace internal
84 85
85 } // namespace address_parser 86 } // namespace address_parser
86 87
87 } // namespace content 88 } // namespace content
88 89
89 #endif // CONTENT_COMMON_ANDROID_ADDRESS_PARSER_INTERNAL_H_ 90 #endif // CONTENT_COMMON_ANDROID_ADDRESS_PARSER_INTERNAL_H_
OLDNEW
« no previous file with comments | « no previous file | content/common/android/address_parser_internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698