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

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: 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 43e8eba330beba77ac5751f807554627f7bc80b6..1a8509744f4e664bf7186f9b9f08d7ae2281f064 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);
@@ -184,7 +183,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;
@@ -219,15 +217,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);
@@ -539,9 +534,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