[Payment Request] Moves payments_validators.* from content/ to core/
This patch moves common payments validators from
//components/payments/content to //components/payments/core to be
used in iOS. The shipping address validator is removed, because it's
not used in the browser and has a dependency on mojo, which is not
allowed on iOS.
TBR=tfarina@ for third_party/re2 dependency
Bug: 602666
Change-Id: Ifb8a22aab8d1ad1a79883bf93fa04281458ae5f5
Reviewed-on: https://chromium-review.googlesource.com/634640
Commit-Queue: mahmadi (Moe) <[email protected]>
Reviewed-by: Rouslan Solomakhin <[email protected]>
Cr-Commit-Position: refs/heads/master@{#497468}
diff --git a/components/payments/core/DEPS b/components/payments/core/DEPS
index 31749cb1..207e47c5 100644
--- a/components/payments/core/DEPS
+++ b/components/payments/core/DEPS
@@ -13,6 +13,7 @@
"+services/metrics/public",
"+third_party/libaddressinput",
"+third_party/libphonenumber",
+ "+third_party/re2",
"+ui/base",
]