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

Side by Side Diff: components/autofill/core/browser/phone_number.h

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 #ifndef COMPONENTS_AUTOFILL_BROWSER_PHONE_NUMBER_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_PHONE_NUMBER_H_
6 #define COMPONENTS_AUTOFILL_BROWSER_PHONE_NUMBER_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_PHONE_NUMBER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/gtest_prod_util.h" 11 #include "base/gtest_prod_util.h"
12 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
13 #include "components/autofill/browser/autofill_type.h" 13 #include "components/autofill/core/browser/autofill_type.h"
14 #include "components/autofill/browser/form_group.h" 14 #include "components/autofill/core/browser/form_group.h"
15 #include "components/autofill/browser/phone_number_i18n.h" 15 #include "components/autofill/core/browser/phone_number_i18n.h"
16 16
17 namespace autofill { 17 namespace autofill {
18 18
19 class AutofillProfile; 19 class AutofillProfile;
20 20
21 // A form group that stores phone number information. 21 // A form group that stores phone number information.
22 class PhoneNumber : public FormGroup { 22 class PhoneNumber : public FormGroup {
23 public: 23 public:
24 explicit PhoneNumber(AutofillProfile* profile); 24 explicit PhoneNumber(AutofillProfile* profile);
25 PhoneNumber(const PhoneNumber& number); 25 PhoneNumber(const PhoneNumber& number);
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 base::string16 number_; 88 base::string16 number_;
89 // Profile which stores the region used as hint when normalizing the number. 89 // Profile which stores the region used as hint when normalizing the number.
90 const AutofillProfile* profile_; // WEAK 90 const AutofillProfile* profile_; // WEAK
91 91
92 // Cached number. 92 // Cached number.
93 mutable i18n::PhoneObject cached_parsed_phone_; 93 mutable i18n::PhoneObject cached_parsed_phone_;
94 }; 94 };
95 95
96 } // namespace autofill 96 } // namespace autofill
97 97
98 #endif // COMPONENTS_AUTOFILL_BROWSER_PHONE_NUMBER_H_ 98 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_PHONE_NUMBER_H_
OLDNEW
« no previous file with comments | « components/autofill/core/browser/phone_field_unittest.cc ('k') | components/autofill/core/browser/phone_number.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698