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

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

Issue 1355063004: Template methods on Timer classes instead of the classes themselves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer: fixcaller Created 5 years, 3 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
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_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 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 // data models. 572 // data models.
573 std::map<DialogSection, std::string> newly_saved_data_model_guids_; 573 std::map<DialogSection, std::string> newly_saved_data_model_guids_;
574 574
575 // Populated if the user chose to save a newly inputted credit card. Used to 575 // Populated if the user chose to save a newly inputted credit card. Used to
576 // show a bubble as the dialog closes to confirm a user's new card info was 576 // show a bubble as the dialog closes to confirm a user's new card info was
577 // saved. Never populated while incognito (as nothing's actually saved). 577 // saved. Never populated while incognito (as nothing's actually saved).
578 scoped_ptr<CreditCard> newly_saved_card_; 578 scoped_ptr<CreditCard> newly_saved_card_;
579 579
580 // The timer that delays enabling submit button for a short period of time on 580 // The timer that delays enabling submit button for a short period of time on
581 // startup. 581 // startup.
582 base::OneShotTimer<AutofillDialogControllerImpl> submit_button_delay_timer_; 582 base::OneShotTimer submit_button_delay_timer_;
583 583
584 base::WeakPtrFactory<AutofillDialogControllerImpl> weak_ptr_factory_; 584 base::WeakPtrFactory<AutofillDialogControllerImpl> weak_ptr_factory_;
585 585
586 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); 586 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl);
587 }; 587 };
588 588
589 } // namespace autofill 589 } // namespace autofill
590 590
591 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ 591 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/app_sync_ui_state.h ('k') | chrome/browser/ui/exclusive_access/exclusive_access_bubble.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698