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

Side by Side Diff: chrome/browser/ui/autofill/data_model_wrapper.h

Issue 145553009: rAc: use libaddressinput to validate international addresses. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_UI_AUTOFILL_DATA_MODEL_WRAPPER_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_DATA_MODEL_WRAPPER_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_DATA_MODEL_WRAPPER_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_DATA_MODEL_WRAPPER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 virtual ~FullWalletShippingWrapper(); 198 virtual ~FullWalletShippingWrapper();
199 199
200 virtual base::string16 GetInfo(const AutofillType& type) const OVERRIDE; 200 virtual base::string16 GetInfo(const AutofillType& type) const OVERRIDE;
201 201
202 private: 202 private:
203 wallet::FullWallet* full_wallet_; 203 wallet::FullWallet* full_wallet_;
204 204
205 DISALLOW_COPY_AND_ASSIGN(FullWalletShippingWrapper); 205 DISALLOW_COPY_AND_ASSIGN(FullWalletShippingWrapper);
206 }; 206 };
207 207
208 // A DataModelWrapper to copy the output of one section to the input of another.
209 class FieldMapWrapper : public DataModelWrapper {
210 public:
211 explicit FieldMapWrapper(const FieldValueMap& field_map);
212 virtual ~FieldMapWrapper();
213
214 virtual base::string16 GetInfo(const AutofillType& type) const OVERRIDE;
215
216 private:
217 const FieldValueMap& field_map_;
218
219 DISALLOW_COPY_AND_ASSIGN(FieldMapWrapper);
220 };
221
222 } // namespace autofill 208 } // namespace autofill
223 209
224 #endif // CHROME_BROWSER_UI_AUTOFILL_DATA_MODEL_WRAPPER_H_ 210 #endif // CHROME_BROWSER_UI_AUTOFILL_DATA_MODEL_WRAPPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_i18n_input.cc ('k') | chrome/browser/ui/autofill/data_model_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698