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

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

Issue 306053008: Rename AutofillManagerDelegate to AutofillClient. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 6 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 769ffaa763d6b2adc00a0c7c929d2be897f53587..9d894ee306ed90568db83f3ee0eaf2a0fa63d2ff 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
@@ -255,7 +255,7 @@ class TestAutofillDialogController
const FormData& form_structure,
const GURL& source_url,
const AutofillMetrics& metric_logger,
- const AutofillManagerDelegate::ResultCallback& callback,
+ const AutofillClient::ResultCallback& callback,
MockNewCreditCardBubbleController* mock_new_card_bubble_controller)
: AutofillDialogControllerImpl(contents,
form_structure,
@@ -263,8 +263,10 @@ class TestAutofillDialogController
callback),
metric_logger_(metric_logger),
mock_wallet_client_(
- Profile::FromBrowserContext(contents->GetBrowserContext())->
- GetRequestContext(), this, source_url),
+ Profile::FromBrowserContext(contents->GetBrowserContext())
+ ->GetRequestContext(),
+ this,
+ source_url),
mock_new_card_bubble_controller_(mock_new_card_bubble_controller),
submit_button_delay_count_(0) {}
@@ -445,7 +447,7 @@ class AutofillDialogControllerTest : public ChromeRenderViewHostTestHarness {
if (controller_)
controller_->ViewClosed();
- AutofillManagerDelegate::ResultCallback callback =
+ AutofillClient::ResultCallback callback =
base::Bind(&AutofillDialogControllerTest::FinishedCallback,
base::Unretained(this));
controller_ = (new testing::NiceMock<TestAutofillDialogController>(
@@ -644,10 +646,9 @@ class AutofillDialogControllerTest : public ChromeRenderViewHostTestHarness {
}
private:
- void FinishedCallback(
- AutofillManagerDelegate::RequestAutocompleteResult result,
- const base::string16& debug_message,
- const FormStructure* form_structure) {
+ void FinishedCallback(AutofillClient::RequestAutocompleteResult result,
+ const base::string16& debug_message,
+ const FormStructure* form_structure) {
form_structure_ = form_structure;
}

Powered by Google App Engine
This is Rietveld 408576698