| OLD | NEW |
| 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 "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
| 10 #include "chrome/browser/ui/autofill/autofill_dialog_types.h" | 10 #include "chrome/browser/ui/autofill/autofill_dialog_types.h" |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 | 213 |
| 214 virtual base::string16 GetInfo(const AutofillType& type) const OVERRIDE; | 214 virtual base::string16 GetInfo(const AutofillType& type) const OVERRIDE; |
| 215 | 215 |
| 216 private: | 216 private: |
| 217 wallet::FullWallet* full_wallet_; | 217 wallet::FullWallet* full_wallet_; |
| 218 | 218 |
| 219 DISALLOW_COPY_AND_ASSIGN(FullWalletShippingWrapper); | 219 DISALLOW_COPY_AND_ASSIGN(FullWalletShippingWrapper); |
| 220 }; | 220 }; |
| 221 | 221 |
| 222 // A DataModelWrapper to copy the output of one section to the input of another. | 222 // A DataModelWrapper to copy the output of one section to the input of another. |
| 223 class DetailOutputWrapper : public DataModelWrapper { | 223 class FieldMapWrapper : public DataModelWrapper { |
| 224 public: | 224 public: |
| 225 explicit DetailOutputWrapper(const DetailOutputMap& outputs); | 225 explicit FieldMapWrapper(const FieldValueMap& field_map); |
| 226 virtual ~DetailOutputWrapper(); | 226 virtual ~FieldMapWrapper(); |
| 227 | 227 |
| 228 virtual base::string16 GetInfo(const AutofillType& type) const OVERRIDE; | 228 virtual base::string16 GetInfo(const AutofillType& type) const OVERRIDE; |
| 229 | 229 |
| 230 private: | 230 private: |
| 231 const DetailOutputMap& outputs_; | 231 const FieldValueMap& field_map_; |
| 232 | 232 |
| 233 DISALLOW_COPY_AND_ASSIGN(DetailOutputWrapper); | 233 DISALLOW_COPY_AND_ASSIGN(FieldMapWrapper); |
| 234 }; | 234 }; |
| 235 | 235 |
| 236 } // namespace autofill | 236 } // namespace autofill |
| 237 | 237 |
| 238 #endif // CHROME_BROWSER_UI_AUTOFILL_DATA_MODEL_WRAPPER_H_ | 238 #endif // CHROME_BROWSER_UI_AUTOFILL_DATA_MODEL_WRAPPER_H_ |
| OLD | NEW |