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

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

Issue 1515293003: Fix invalid cast in AutofillDialogControllerTest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove casts Created 5 years 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
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 208
209 void FinishSubmit(); 209 void FinishSubmit();
210 210
211 // Ends the delay for enabling the submit button. Called only from tests. 211 // Ends the delay for enabling the submit button. Called only from tests.
212 // Without this method, the tests would have to wait for the delay timer to 212 // Without this method, the tests would have to wait for the delay timer to
213 // finish, which would be flaky. 213 // finish, which would be flaky.
214 void SubmitButtonDelayEndForTesting(); 214 void SubmitButtonDelayEndForTesting();
215 215
216 private: 216 private:
217 FRIEND_TEST_ALL_PREFIXES(AutofillDialogControllerTest, 217 FRIEND_TEST_ALL_PREFIXES(AutofillDialogControllerTest,
218 AutocompleteEvent);
219 FRIEND_TEST_ALL_PREFIXES(AutofillDialogControllerTest,
220 AutocompleteErrorEventReasonCancel);
221 FRIEND_TEST_ALL_PREFIXES(AutofillDialogControllerTest,
222 AutocompleteErrorEventReasonInvalid);
223 FRIEND_TEST_ALL_PREFIXES(AutofillDialogControllerTest,
224 ErrorWithFrameNavigation);
225 FRIEND_TEST_ALL_PREFIXES(AutofillDialogControllerTest,
226 FillFormIncludesCVC);
227 FRIEND_TEST_ALL_PREFIXES(AutofillDialogControllerTest,
228 Submit);
229 FRIEND_TEST_ALL_PREFIXES(AutofillDialogControllerTest,
218 TransactionAmount); 230 TransactionAmount);
219 FRIEND_TEST_ALL_PREFIXES(AutofillDialogControllerTest, 231 FRIEND_TEST_ALL_PREFIXES(AutofillDialogControllerTest,
220 TransactionAmountReadonly); 232 TransactionAmountReadonly);
221 233
222 // Initializes or updates |suggested_cc_| et al. 234 // Initializes or updates |suggested_cc_| et al.
223 void SuggestionsUpdated(); 235 void SuggestionsUpdated();
224 236
225 // Starts fetching the wallet items from Online Wallet. 237 // Starts fetching the wallet items from Online Wallet.
226 void GetWalletItems(); 238 void GetWalletItems();
227 239
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 base::OneShotTimer submit_button_delay_timer_; 592 base::OneShotTimer submit_button_delay_timer_;
581 593
582 base::WeakPtrFactory<AutofillDialogControllerImpl> weak_ptr_factory_; 594 base::WeakPtrFactory<AutofillDialogControllerImpl> weak_ptr_factory_;
583 595
584 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); 596 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl);
585 }; 597 };
586 598
587 } // namespace autofill 599 } // namespace autofill
588 600
589 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ 601 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698