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

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

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
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_internal.h" 5 #include "content/common/android/address_parser_internal.h"
6 6
7 #include <bitset> 7 #include <bitset>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 Word::Word() { 70 Word::Word() {
71 } 71 }
72 72
73 Word::Word(const base::string16::const_iterator& begin, 73 Word::Word(const base::string16::const_iterator& begin,
74 const base::string16::const_iterator& end) 74 const base::string16::const_iterator& end)
75 : begin(begin), 75 : begin(begin),
76 end(end) { 76 end(end) {
77 DCHECK(begin <= end); 77 DCHECK(begin <= end);
78 } 78 }
79 79
80 Word::Word(const Word& other) = default;
81
80 HouseNumberParser::HouseNumberParser() { 82 HouseNumberParser::HouseNumberParser() {
81 } 83 }
82 84
83 bool HouseNumberParser::IsPreDelimiter(base::char16 character) { 85 bool HouseNumberParser::IsPreDelimiter(base::char16 character) {
84 return character == ':' || IsPostDelimiter(character); 86 return character == ':' || IsPostDelimiter(character);
85 } 87 }
86 88
87 bool HouseNumberParser::IsPostDelimiter(base::char16 character) { 89 bool HouseNumberParser::IsPostDelimiter(base::char16 character) {
88 return base::IsUnicodeWhitespace(character) || strchr(",\"'", character); 90 return base::IsUnicodeWhitespace(character) || strchr(",\"'", character);
89 } 91 }
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 } 631 }
630 632
631 return false; 633 return false;
632 } 634 }
633 635
634 } // namespace internal 636 } // namespace internal
635 637
636 } // namespace address_parser 638 } // namespace address_parser
637 639
638 } // namespace content 640 } // namespace content
OLDNEW
« no previous file with comments | « content/common/android/address_parser_internal.h ('k') | content/common/gpu/media/rendering_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698