Chromium Code Reviews| 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_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
| 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ | 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 278 void LoadRiskFingerprintData(); | 278 void LoadRiskFingerprintData(); |
| 279 void OnDidLoadRiskFingerprintData(scoped_ptr<risk::Fingerprint> fingerprint); | 279 void OnDidLoadRiskFingerprintData(scoped_ptr<risk::Fingerprint> fingerprint); |
| 280 | 280 |
| 281 // Whether the user has chosen to enter all new data in |section|. This | 281 // Whether the user has chosen to enter all new data in |section|. This |
| 282 // happens via choosing "Add a new X..." from a section's suggestion menu. | 282 // happens via choosing "Add a new X..." from a section's suggestion menu. |
| 283 bool IsManuallyEditingSection(DialogSection section); | 283 bool IsManuallyEditingSection(DialogSection section); |
| 284 | 284 |
| 285 // Whether the billing section should be used to fill in the shipping details. | 285 // Whether the billing section should be used to fill in the shipping details. |
| 286 bool UseBillingForShipping(); | 286 bool UseBillingForShipping(); |
| 287 | 287 |
| 288 // Whether the user wishes to save information locally to Autofill. | |
| 289 bool SaveDetailsLocally(); | |
|
Evan Stade
2013/03/14 02:39:38
perhaps both this one and UseBililngForShipping sh
Dan Beam
2013/03/14 04:31:51
Done.
| |
| 290 | |
| 288 // Start the submit proccess to interact with Online Wallet (might do various | 291 // Start the submit proccess to interact with Online Wallet (might do various |
| 289 // things like accept documents, save details, update details, respond to | 292 // things like accept documents, save details, update details, respond to |
| 290 // required actions, etc.). | 293 // required actions, etc.). |
| 291 void SubmitWithWallet(); | 294 void SubmitWithWallet(); |
| 292 | 295 |
| 293 // Gets a full wallet from Online Wallet so the user can purchase something. | 296 // Gets a full wallet from Online Wallet so the user can purchase something. |
| 294 // This information is decoded to reveal a fronting (proxy) card. | 297 // This information is decoded to reveal a fronting (proxy) card. |
| 295 void GetFullWallet(); | 298 void GetFullWallet(); |
| 296 | 299 |
| 297 // Called when there's nothing left to accept, update, save, or authenticate | 300 // Called when there's nothing left to accept, update, save, or authenticate |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 392 | 395 |
| 393 // Whether or not there was an error in the Autocheckout flow. | 396 // Whether or not there was an error in the Autocheckout flow. |
| 394 bool had_autocheckout_error_; | 397 bool had_autocheckout_error_; |
| 395 | 398 |
| 396 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); | 399 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); |
| 397 }; | 400 }; |
| 398 | 401 |
| 399 } // namespace autofill | 402 } // namespace autofill |
| 400 | 403 |
| 401 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ | 404 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
| OLD | NEW |