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

Unified Diff: chrome/browser/ui/views/payments/payment_sheet_view_controller.cc

Issue 2921223003: [Merge M60][Payments] Link to Autofill settings from Payment Request UI (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/payments/payment_sheet_view_controller.cc
diff --git a/chrome/browser/ui/views/payments/payment_sheet_view_controller.cc b/chrome/browser/ui/views/payments/payment_sheet_view_controller.cc
index b345ff4ba197bb578b72ebeb3a44f824c7ee5826..469736473f24e1c5274b4b32a78b4ad795b98dde 100644
--- a/chrome/browser/ui/views/payments/payment_sheet_view_controller.cc
+++ b/chrome/browser/ui/views/payments/payment_sheet_view_controller.cc
@@ -24,6 +24,7 @@
#include "chrome/browser/ui/views/payments/payment_request_dialog_view_ids.h"
#include "chrome/browser/ui/views/payments/payment_request_row_view.h"
#include "chrome/browser/ui/views/payments/payment_request_views_util.h"
+#include "chrome/common/url_constants.h"
#include "chrome/grit/generated_resources.h"
#include "components/autofill/core/browser/field_types.h"
#include "components/autofill/core/browser/personal_data_manager.h"
@@ -514,7 +515,8 @@ void PaymentSheetViewController::StyledLabelLinkClicked(
int event_flags) {
// The only thing that can trigger this is the user clicking on the "settings"
// link in the data attribution text.
- chrome::ShowSettingsSubPageForProfile(dialog()->GetProfile(), "");
+ chrome::ShowSettingsSubPageForProfile(dialog()->GetProfile(),
+ chrome::kAutofillSubPage);
}
void PaymentSheetViewController::UpdatePayButtonState(bool enabled) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698