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

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

Issue 2497983002: PaymentApp: Implement PaymentAppManager.setManifest(). (Closed)
Patch Set: rebase 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
« no previous file with comments | « content/browser/payments/BUILD.gn ('k') | content/browser/payments/payment_app_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
+}
« no previous file with comments | « content/browser/payments/BUILD.gn ('k') | content/browser/payments/payment_app_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698