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

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

Issue 229723002: Better error reasons for rAc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: woopsies Created 6 years, 8 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_unittest.cc
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
index c6cc695b0ff9d4e9179031272f9dcd401feeeeac..8d3f1854235d30157b602b4f848c0b1e99422fb5 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
@@ -259,7 +259,7 @@ class TestAutofillDialogController
const FormData& form_structure,
const GURL& source_url,
const AutofillMetrics& metric_logger,
- const base::Callback<void(const FormStructure*)>& callback,
+ const AutofillManagerDelegate::ResultCallback& callback,
MockNewCreditCardBubbleController* mock_new_card_bubble_controller)
: AutofillDialogControllerImpl(contents,
form_structure,
@@ -449,7 +449,7 @@ class AutofillDialogControllerTest : public ChromeRenderViewHostTestHarness {
if (controller_)
controller_->ViewClosed();
- base::Callback<void(const FormStructure*)> callback =
+ AutofillManagerDelegate::ResultCallback callback =
base::Bind(&AutofillDialogControllerTest::FinishedCallback,
base::Unretained(this));
controller_ = (new testing::NiceMock<TestAutofillDialogController>(
@@ -647,7 +647,9 @@ class AutofillDialogControllerTest : public ChromeRenderViewHostTestHarness {
}
private:
- void FinishedCallback(const FormStructure* form_structure) {
+ void FinishedCallback(
+ AutofillManagerDelegate::RequestAutocompleteResult result,
+ const FormStructure* form_structure) {
form_structure_ = form_structure;
}

Powered by Google App Engine
This is Rietveld 408576698