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

Unified Diff: chrome/browser/ui/webui/options/autofill_options_handler.cc

Issue 1999923002: Move the Google Payments URL functions out of content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « chrome/browser/ui/startup/bad_flags_prompt.cc ('k') | components/autofill.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options/autofill_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/autofill_options_handler.cc b/chrome/browser/ui/webui/options/autofill_options_handler.cc
index 33d02cafb43ea599df765c4b666319cdb2c967cf..8fa05b67f72d7a3def03d9d7bf212e3810f66260 100644
--- a/chrome/browser/ui/webui/options/autofill_options_handler.cc
+++ b/chrome/browser/ui/webui/options/autofill_options_handler.cc
@@ -26,11 +26,11 @@
#include "chrome/common/url_constants.h"
#include "chrome/grit/chromium_strings.h"
#include "chrome/grit/generated_resources.h"
-#include "components/autofill/content/browser/wallet/wallet_service_url.h"
#include "components/autofill/core/browser/autofill_country.h"
#include "components/autofill/core/browser/autofill_data_util.h"
#include "components/autofill/core/browser/autofill_profile.h"
#include "components/autofill/core/browser/credit_card.h"
+#include "components/autofill/core/browser/payments/payments_service_url.h"
#include "components/autofill/core/browser/personal_data_manager.h"
#include "components/autofill/core/browser/phone_number_i18n.h"
#include "components/autofill/core/common/autofill_constants.h"
@@ -244,11 +244,11 @@ void AutofillOptionsHandler::GetLocalizedValues(
SetCreditCardOverlayStrings(localized_strings);
localized_strings->SetString(
- "manageWalletAddressesUrl",
- autofill::wallet::GetManageAddressesUrl(0).spec());
+ "paymentsManageAddressesUrl",
+ autofill::payments::GetManageAddressesUrl(0).spec());
localized_strings->SetString(
- "manageWalletPaymentMethodsUrl",
- autofill::wallet::GetManageInstrumentsUrl(0).spec());
+ "paymentsManageInstrumentsUrl",
+ autofill::payments::GetManageInstrumentsUrl(0).spec());
}
void AutofillOptionsHandler::InitializeHandler() {
« no previous file with comments | « chrome/browser/ui/startup/bad_flags_prompt.cc ('k') | components/autofill.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698