OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "components/autofill/browser/phone_number_i18n.h" | 5 #include "components/autofill/core/browser/phone_number_i18n.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
10 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
11 #include "base/strings/stringprintf.h" | 11 #include "base/strings/stringprintf.h" |
12 #include "base/strings/utf_string_conversions.h" | 12 #include "base/strings/utf_string_conversions.h" |
13 #include "components/autofill/browser/autofill_country.h" | 13 #include "components/autofill/core/browser/autofill_country.h" |
14 #include "third_party/libphonenumber/src/phonenumber_api.h" | 14 #include "third_party/libphonenumber/src/phonenumber_api.h" |
15 | 15 |
16 using i18n::phonenumbers::PhoneNumber; | 16 using i18n::phonenumbers::PhoneNumber; |
17 using i18n::phonenumbers::PhoneNumberUtil; | 17 using i18n::phonenumbers::PhoneNumberUtil; |
18 | 18 |
19 namespace autofill { | 19 namespace autofill { |
20 | 20 |
21 namespace { | 21 namespace { |
22 | 22 |
23 std::string SanitizeRegion(const std::string& region, | 23 std::string SanitizeRegion(const std::string& region, |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 number_ = other.number_; | 290 number_ = other.number_; |
291 | 291 |
292 formatted_number_ = other.formatted_number_; | 292 formatted_number_ = other.formatted_number_; |
293 whole_number_ = other.whole_number_; | 293 whole_number_ = other.whole_number_; |
294 | 294 |
295 return *this; | 295 return *this; |
296 } | 296 } |
297 | 297 |
298 } // namespace i18n | 298 } // namespace i18n |
299 } // namespace autofill | 299 } // namespace autofill |
OLD | NEW |