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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentAddressTest.cpp

Issue 2489943003: Revert of [Web Payments] Mojom namespace blink -> payments (Closed)
Patch Set: Created 4 years, 1 month 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: third_party/WebKit/Source/modules/payments/PaymentAddressTest.cpp
diff --git a/third_party/WebKit/Source/modules/payments/PaymentAddressTest.cpp b/third_party/WebKit/Source/modules/payments/PaymentAddressTest.cpp
index 15d52634814c222c4671697607bf1903e0d6000a..1331158b3d4c300e866282f2dd76b70d84819f63 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentAddressTest.cpp
+++ b/third_party/WebKit/Source/modules/payments/PaymentAddressTest.cpp
@@ -11,8 +11,7 @@
namespace {
TEST(PaymentAddressTest, ValuesAreCopiedOver) {
- payments::mojom::blink::PaymentAddressPtr input =
- payments::mojom::blink::PaymentAddress::New();
+ mojom::blink::PaymentAddressPtr input = mojom::blink::PaymentAddress::New();
input->country = "US";
input->address_line.append("340 Main St");
input->address_line.append("BIN1");
@@ -47,8 +46,7 @@
}
TEST(PaymentAddressTest, IgnoreScriptCodeWithEmptyLanguageCode) {
- payments::mojom::blink::PaymentAddressPtr input =
- payments::mojom::blink::PaymentAddress::New();
+ mojom::blink::PaymentAddressPtr input = mojom::blink::PaymentAddress::New();
input->script_code = "Latn";
PaymentAddress output(std::move(input));
@@ -57,8 +55,7 @@
}
TEST(PaymentAddressTest, NoHyphenWithEmptyScriptCode) {
- payments::mojom::blink::PaymentAddressPtr input =
- payments::mojom::blink::PaymentAddress::New();
+ mojom::blink::PaymentAddressPtr input = mojom::blink::PaymentAddress::New();
input->language_code = "en";
PaymentAddress output(std::move(input));

Powered by Google App Engine
This is Rietveld 408576698