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

Unified Diff: components/payments/content/BUILD.gn

Issue 2742813004: [Payments] Refactor into PaymentRequestState and Spec (Closed)
Patch Set: don't stop rebasin' Created 3 years, 9 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/BUILD.gn
diff --git a/components/payments/content/BUILD.gn b/components/payments/content/BUILD.gn
index e58ff006cac725ad26435b819954a2f47677d955..bc33a0f821d7edb38cf18300593cd7cc690fdc5b 100644
--- a/components/payments/content/BUILD.gn
+++ b/components/payments/content/BUILD.gn
@@ -27,6 +27,10 @@ static_library("payment_request_impl") {
"payment_request.h",
"payment_request_delegate.h",
"payment_request_dialog.h",
+ "payment_request_spec.cc",
+ "payment_request_spec.h",
+ "payment_request_state.cc",
+ "payment_request_state.h",
"payment_request_web_contents_manager.cc",
"payment_request_web_contents_manager.h",
]
@@ -67,14 +71,19 @@ static_library("payment_validation") {
source_set("unit_tests") {
testonly = true
sources = [
+ "payment_request_spec_unittest.cc",
+ "payment_request_state_unittest.cc",
"payments_validators_unittest.cc",
]
deps = [
+ ":payment_request",
+ ":payment_request_impl",
":payment_validation",
"//base",
"//base/test:test_support",
"//components/autofill/core/browser",
+ "//components/autofill/core/browser:test_support",
"//testing/gtest",
"//third_party/icu",
"//third_party/libaddressinput:test_support",
« no previous file with comments | « chrome/browser/ui/views/payments/shipping_option_view_controller.cc ('k') | components/payments/content/payment_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698