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

Unified Diff: components/payments/content/payment_request_state.h

Issue 2803443003: [Payments] Added region load failure tolerance and tests to PR editor. (Closed)
Patch Set: Removed unneeded include. Created 3 years, 8 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: components/payments/content/payment_request_state.h
diff --git a/components/payments/content/payment_request_state.h b/components/payments/content/payment_request_state.h
index 4f5f96a57cd775638375aff64f6e8b4212d98b3c..ce00ee7228f30cf2fe1d5d3526e64bf8b8157819 100644
--- a/components/payments/content/payment_request_state.h
+++ b/components/payments/content/payment_request_state.h
@@ -5,6 +5,7 @@
#ifndef COMPONENTS_PAYMENTS_CONTENT_PAYMENT_REQUEST_STATE_H_
#define COMPONENTS_PAYMENTS_CONTENT_PAYMENT_REQUEST_STATE_H_
+#include <memory>
#include <string>
#include <vector>
@@ -13,6 +14,13 @@
#include "components/payments/content/payment_request.mojom.h"
#include "components/payments/content/payment_response_helper.h"
+namespace i18n {
+namespace addressinput {
+class Storage;
+class Source;
+} // namespace addressinput
+} // namespace i18n
+
namespace autofill {
class AutofillProfile;
class PersonalDataManager;
@@ -120,6 +128,8 @@ class PaymentRequestState : public PaymentResponseHelper::Delegate {
const std::string& GetApplicationLocale();
autofill::PersonalDataManager* GetPersonalDataManager();
+ std::unique_ptr<const ::i18n::addressinput::Source> GetAddressInputSource();
+ std::unique_ptr<::i18n::addressinput::Storage> GetAddressInputStorage();
Delegate* delegate() { return delegate_; }

Powered by Google App Engine
This is Rietveld 408576698