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

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

Issue 896583003: Add risk data to getrealpan request. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes for android Created 5 years, 10 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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 // Call to disable communication to Online Wallet for this dialog. 255 // Call to disable communication to Online Wallet for this dialog.
256 // Exposed for testing. 256 // Exposed for testing.
257 void DisableWallet(wallet::WalletClient::ErrorType error_type); 257 void DisableWallet(wallet::WalletClient::ErrorType error_type);
258 258
259 // Returns whether Wallet is the current data source. Exposed for testing. 259 // Returns whether Wallet is the current data source. Exposed for testing.
260 virtual bool IsPayingWithWallet() const; 260 virtual bool IsPayingWithWallet() const;
261 261
262 // Asks risk module to asynchronously load fingerprint data. Data will be 262 // Asks risk module to asynchronously load fingerprint data. Data will be
263 // returned via |OnDidLoadRiskFingerprintData()|. Exposed for testing. 263 // returned via |OnDidLoadRiskFingerprintData()|. Exposed for testing.
264 virtual void LoadRiskFingerprintData(); 264 virtual void LoadRiskFingerprintData();
265 virtual void OnDidLoadRiskFingerprintData( 265 virtual void OnDidLoadRiskFingerprintData(const std::string& risk_data);
266 scoped_ptr<risk::Fingerprint> fingerprint);
267 266
268 // Opens the given URL in a new foreground tab. 267 // Opens the given URL in a new foreground tab.
269 virtual void OpenTabWithUrl(const GURL& url); 268 virtual void OpenTabWithUrl(const GURL& url);
270 269
271 // The active billing section for the current state of the dialog (e.g. when 270 // The active billing section for the current state of the dialog (e.g. when
272 // paying for wallet, the combined credit card + billing address section). 271 // paying for wallet, the combined credit card + billing address section).
273 DialogSection ActiveBillingSection() const; 272 DialogSection ActiveBillingSection() const;
274 273
275 // Whether |section| was sent into edit mode based on existing data. This 274 // Whether |section| was sent into edit mode based on existing data. This
276 // happens when a user clicks "Edit" or a suggestion is invalid. 275 // happens when a user clicks "Edit" or a suggestion is invalid.
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
846 base::string16 submitted_cardholder_name_; 845 base::string16 submitted_cardholder_name_;
847 846
848 base::WeakPtrFactory<AutofillDialogControllerImpl> weak_ptr_factory_; 847 base::WeakPtrFactory<AutofillDialogControllerImpl> weak_ptr_factory_;
849 848
850 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); 849 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl);
851 }; 850 };
852 851
853 } // namespace autofill 852 } // namespace autofill
854 853
855 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ 854 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698