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

Unified Diff: content/browser/payments/payment_app.proto

Issue 2497983002: PaymentApp: Implement PaymentAppManager.setManifest(). (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: content/browser/payments/payment_app.proto
diff --git a/content/browser/payments/payment_app.proto b/content/browser/payments/payment_app.proto
new file mode 100644
index 0000000000000000000000000000000000000000..3c740884c0ab2cec002aea0968963107d26b194a
--- /dev/null
+++ b/content/browser/payments/payment_app.proto
@@ -0,0 +1,22 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+syntax = "proto2";
+
+option optimize_for = LITE_RUNTIME;
+
+package content;
+
+message PaymentAppManifestProto {
+ required string label = 1;
+ optional string icon = 2;
+ repeated PaymentAppOptionProto options = 3;
+}
+
+message PaymentAppOptionProto {
+ required string label = 1;
+ optional string icon = 2;
+ required string id = 3;
+ repeated string enabled_methods = 4;
+}

Powered by Google App Engine
This is Rietveld 408576698