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 <set> | 8 #include <set> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
563 // The helper is set only during fetch/sign-in, and NULL otherwise. | 563 // The helper is set only during fetch/sign-in, and NULL otherwise. |
564 scoped_ptr<wallet::WalletSigninHelper> signin_helper_; | 564 scoped_ptr<wallet::WalletSigninHelper> signin_helper_; |
565 | 565 |
566 // A client to talk to the Online Wallet API. | 566 // A client to talk to the Online Wallet API. |
567 wallet::WalletClient wallet_client_; | 567 wallet::WalletClient wallet_client_; |
568 | 568 |
569 // Recently received items retrieved via |wallet_client_|. | 569 // Recently received items retrieved via |wallet_client_|. |
570 scoped_ptr<wallet::WalletItems> wallet_items_; | 570 scoped_ptr<wallet::WalletItems> wallet_items_; |
571 scoped_ptr<wallet::FullWallet> full_wallet_; | 571 scoped_ptr<wallet::FullWallet> full_wallet_; |
572 | 572 |
573 // The default active instrument and shipping address object ids as of the | |
Evan Stade
2013/09/04 19:25:28
nit: s/ids/IDs/
Ilya Sherman
2013/09/05 01:13:59
Done.
| |
574 // last time Wallet items were fetched. These variables are only set | |
575 // (i.e. non-empty) when the Wallet items are being re-fetched. | |
576 std::string previous_default_instrument_id_; | |
577 std::string previous_default_shipping_address_id_; | |
573 // The last active instrument and shipping address object ids. These | 578 // The last active instrument and shipping address object ids. These |
574 // variables are only set (i.e. non-empty) when the Wallet items are being | 579 // variables are only set (i.e. non-empty) when the Wallet items are being |
575 // re-fetched. | 580 // re-fetched. |
576 std::string previously_selected_instrument_id_; | 581 std::string previously_selected_instrument_id_; |
577 std::string previously_selected_shipping_address_id_; | 582 std::string previously_selected_shipping_address_id_; |
578 | 583 |
579 // When the Wallet items were last fetched. | 584 // When the Wallet items were last fetched. |
580 base::TimeTicks last_wallet_items_fetch_timestamp_; | 585 base::TimeTicks last_wallet_items_fetch_timestamp_; |
581 | 586 |
582 // Local machine signals to pass along on each request to trigger (or | 587 // Local machine signals to pass along on each request to trigger (or |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
684 // show a bubble as the dialog closes to confirm a user's new card info was | 689 // show a bubble as the dialog closes to confirm a user's new card info was |
685 // saved. Never populated while incognito (as nothing's actually saved). | 690 // saved. Never populated while incognito (as nothing's actually saved). |
686 scoped_ptr<CreditCard> newly_saved_card_; | 691 scoped_ptr<CreditCard> newly_saved_card_; |
687 | 692 |
688 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); | 693 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); |
689 }; | 694 }; |
690 | 695 |
691 } // namespace autofill | 696 } // namespace autofill |
692 | 697 |
693 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ | 698 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
OLD | NEW |