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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_controller_impl.h

Issue 23537014: rAc: Get rid of dialog type in rAc, there is only one type left now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 3 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_impl.h
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
index 5407271e446effc14c29cef11b518b6837e1d819..612e24479a9a95b3c9a9096c310a5f3443b8f82c 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
@@ -84,7 +84,6 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate,
content::WebContents* contents,
const FormData& form_structure,
const GURL& source_url,
- const DialogType dialog_type,
const base::Callback<void(const FormStructure*,
const std::string&)>& callback);
@@ -185,7 +184,6 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate,
// wallet::WalletClientDelegate implementation.
virtual const AutofillMetrics& GetMetricLogger() const OVERRIDE;
- virtual DialogType GetDialogType() const OVERRIDE;
virtual std::string GetRiskData() const OVERRIDE;
virtual std::string GetWalletCookieValue() const OVERRIDE;
virtual bool IsShippingAddressRequired() const OVERRIDE;
@@ -220,15 +218,12 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate,
virtual void OnDidFetchWalletCookieValue(
const std::string& cookie_value) OVERRIDE;
- DialogType dialog_type() const { return dialog_type_; }
-
protected:
// Exposed for testing.
AutofillDialogControllerImpl(
content::WebContents* contents,
const FormData& form_structure,
const GURL& source_url,
- const DialogType dialog_type,
const base::Callback<void(const FormStructure*,
const std::string&)>& callback);
@@ -554,9 +549,6 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate,
base::Time dialog_shown_timestamp_;
AutofillMetrics::DialogInitialUserStateMetric initial_user_state_;
- // Whether this is an Autocheckout or a requestAutocomplete dialog.
- const DialogType dialog_type_;
-
FormStructure form_structure_;
// Whether the URL visible to the user when this dialog was requested to be

Powered by Google App Engine
This is Rietveld 408576698