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

Unified Diff: components/payments/content/payment_response_helper_unittest.cc

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_response_helper_unittest.cc
diff --git a/components/payments/content/payment_response_helper_unittest.cc b/components/payments/content/payment_response_helper_unittest.cc
index d072121cf21dbc64b14569f45419cea02875cb42..e2df9cc0d4230e0fee0976705643a0cceeedc732 100644
--- a/components/payments/content/payment_response_helper_unittest.cc
+++ b/components/payments/content/payment_response_helper_unittest.cc
@@ -4,7 +4,10 @@
#include "components/payments/content/payment_response_helper.h"
+#include <memory>
+#include <string>
#include <utility>
+#include <vector>
#include "base/memory/weak_ptr.h"
#include "base/strings/utf_string_conversions.h"
@@ -47,6 +50,16 @@ class FakePaymentRequestDelegate : public PaymentRequestDelegate {
base::ASCIIToUTF16("123"));
}
+ std::unique_ptr<const ::i18n::addressinput::Source> GetAddressInputSource()
+ override {
+ return nullptr;
+ }
+
+ std::unique_ptr<::i18n::addressinput::Storage> GetAddressInputStorage()
+ override {
+ return nullptr;
+ }
+
private:
autofill::PersonalDataManager* personal_data_manager_;
std::string locale_;
« no previous file with comments | « components/payments/content/payment_request_state.cc ('k') | components/payments/core/payment_request_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698