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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentRequest.h

Issue 2500183002: Do not parse JSON in the browser. (Closed)
Patch Set: Use a Dictionary type in IDL 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/PaymentRequest.h
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequest.h b/third_party/WebKit/Source/modules/payments/PaymentRequest.h
index 555e7b6b3743e877d61efa5a2caa0406e046d3d5..308df98ae9959856a6fbe6011536f610a3e0fa3c 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentRequest.h
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequest.h
@@ -58,13 +58,6 @@ class MODULES_EXPORT PaymentRequest final
virtual ~PaymentRequest();
- struct MethodData {
- MethodData(const Vector<String>& methods, const String& data)
- : supportedMethods(methods), stringifiedData(data) {}
- Vector<String> supportedMethods;
- String stringifiedData;
- };
-
ScriptPromise show(ScriptState*);
ScriptPromise abort(ScriptState*);

Powered by Google App Engine
This is Rietveld 408576698