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

Side by Side Diff: components/autofill/core/browser/phone_number_i18n.cc

Issue 17392006: In components/autofill, move browser/ to core/browser/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to fix conflicts Created 7 years, 6 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
OLDNEW
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
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
OLDNEW
« no previous file with comments | « components/autofill/core/browser/phone_number_i18n.h ('k') | components/autofill/core/browser/phone_number_i18n_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698