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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc

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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc
index 401731ce4212081f71ab374ee23f1f95b2466713..1ecd4131fbabe2fe6713d7af682c0b622718115c 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc
@@ -1133,10 +1133,7 @@ IN_PROC_BROWSER_TEST_F(AutofillDialogControllerTest,
EXPECT_TRUE(test_view->IsShowingOverlay());
EXPECT_CALL(*controller()->GetTestingWalletClient(), GetFullWallet(_));
- scoped_ptr<risk::Fingerprint> fingerprint(new risk::Fingerprint());
- fingerprint->mutable_machine_characteristics()->mutable_screen_size()->
- set_width(1024);
- controller()->OnDidLoadRiskFingerprintData(fingerprint.Pass());
+ controller()->OnDidLoadRiskFingerprintData("a");
controller()->OnDidGetFullWallet(
wallet::GetTestFullWalletWithRequiredActions(

Powered by Google App Engine
This is Rietveld 408576698