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

Side by Side Diff: chrome/browser/autofill/address_field.h

Issue 5794003: Deinline even more destructors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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
« no previous file with comments | « no previous file | chrome/browser/autofill/address_field.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_ADDRESS_FIELD_H_ 5 #ifndef CHROME_BROWSER_AUTOFILL_ADDRESS_FIELD_H_
6 #define CHROME_BROWSER_AUTOFILL_ADDRESS_FIELD_H_ 6 #define CHROME_BROWSER_AUTOFILL_ADDRESS_FIELD_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
11 #include "chrome/browser/autofill/autofill_type.h" 11 #include "chrome/browser/autofill/autofill_type.h"
12 #include "chrome/browser/autofill/form_field.h" 12 #include "chrome/browser/autofill/form_field.h"
13 13
14 class AutoFillField; 14 class AutoFillField;
15 15
16 class AddressField : public FormField { 16 class AddressField : public FormField {
17 public: 17 public:
18 virtual bool GetFieldInfo(FieldTypeMap* field_type_map) const; 18 virtual bool GetFieldInfo(FieldTypeMap* field_type_map) const;
19 virtual FormFieldType GetFormFieldType() const { return kAddressType; } 19 virtual FormFieldType GetFormFieldType() const;
20 20
21 static AddressField* Parse(std::vector<AutoFillField*>::const_iterator* iter, 21 static AddressField* Parse(std::vector<AutoFillField*>::const_iterator* iter,
22 bool is_ecml); 22 bool is_ecml);
23 23
24 // Tries to determine the billing/shipping type of this address. 24 // Tries to determine the billing/shipping type of this address.
25 AddressType FindType() const; 25 AddressType FindType() const;
26 26
27 void SetType(AddressType address_type) { type_ = address_type; } 27 void SetType(AddressType address_type) { type_ = address_type; }
28 28
29 // Returns true if this is a full address as opposed to an address fragment 29 // Returns true if this is a full address as opposed to an address fragment
(...skipping 30 matching lines...) Expand all
60 AutoFillField* zip4_; // optional ZIP+4; we don't fill this yet 60 AutoFillField* zip4_; // optional ZIP+4; we don't fill this yet
61 AutoFillField* country_; // optional 61 AutoFillField* country_; // optional
62 62
63 AddressType type_; 63 AddressType type_;
64 bool is_ecml_; 64 bool is_ecml_;
65 65
66 DISALLOW_COPY_AND_ASSIGN(AddressField); 66 DISALLOW_COPY_AND_ASSIGN(AddressField);
67 }; 67 };
68 68
69 #endif // CHROME_BROWSER_AUTOFILL_ADDRESS_FIELD_H_ 69 #endif // CHROME_BROWSER_AUTOFILL_ADDRESS_FIELD_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/autofill/address_field.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698