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

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

Issue 12434004: Move remaining Autofill code to //components/autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix long lines Created 7 years, 9 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 CHROME_BROWSER_AUTOFILL_PHONE_NUMBER_H_ 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_PHONE_NUMBER_H_
6 #define CHROME_BROWSER_AUTOFILL_PHONE_NUMBER_H_ 6 #define COMPONENTS_AUTOFILL_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/string16.h" 12 #include "base/string16.h"
13 #include "chrome/browser/autofill/autofill_type.h" 13 #include "components/autofill/browser/autofill_type.h"
14 #include "chrome/browser/autofill/form_group.h" 14 #include "components/autofill/browser/form_group.h"
15 #include "chrome/browser/autofill/phone_number_i18n.h" 15 #include "components/autofill/browser/phone_number_i18n.h"
16 16
17 class AutofillProfile; 17 class AutofillProfile;
18 18
19 // A form group that stores phone number information. 19 // A form group that stores phone number information.
20 class PhoneNumber : public FormGroup { 20 class PhoneNumber : public FormGroup {
21 public: 21 public:
22 explicit PhoneNumber(AutofillProfile* profile); 22 explicit PhoneNumber(AutofillProfile* profile);
23 PhoneNumber(const PhoneNumber& number); 23 PhoneNumber(const PhoneNumber& number);
24 virtual ~PhoneNumber(); 24 virtual ~PhoneNumber();
25 25
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 // The phone number. 85 // The phone number.
86 string16 number_; 86 string16 number_;
87 // Profile which stores the region used as hint when normalizing the number. 87 // Profile which stores the region used as hint when normalizing the number.
88 const AutofillProfile* profile_; // WEAK 88 const AutofillProfile* profile_; // WEAK
89 89
90 // Cached number. 90 // Cached number.
91 mutable autofill_i18n::PhoneObject cached_parsed_phone_; 91 mutable autofill_i18n::PhoneObject cached_parsed_phone_;
92 }; 92 };
93 93
94 #endif // CHROME_BROWSER_AUTOFILL_PHONE_NUMBER_H_ 94 #endif // COMPONENTS_AUTOFILL_BROWSER_PHONE_NUMBER_H_
OLDNEW
« no previous file with comments | « components/autofill/browser/phone_field_unittest.cc ('k') | components/autofill/browser/phone_number.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698