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

Unified Diff: content/public/browser/payment_app_context.h

Issue 2560293002: PaymentApp: Introduce PaymentAppDatabase class. (Closed)
Patch Set: Created 4 years 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/public/browser/payment_app_context.h
diff --git a/content/public/browser/payment_app_context.h b/content/public/browser/payment_app_context.h
new file mode 100644
index 0000000000000000000000000000000000000000..4650b07ec08377d5dc97bca869ea43e5c6d8d7c8
--- /dev/null
+++ b/content/public/browser/payment_app_context.h
@@ -0,0 +1,25 @@
+// 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.
+
+#ifndef CONTENT_PUBLIC_BROWSER_PAYMENT_APP_CONTEXT_H_
+#define CONTENT_PUBLIC_BROWSER_PAYMENT_APP_CONTEXT_H_
+
+#include <utility>
+#include <vector>
+
+#include "base/callback_forward.h"
+
+namespace content {
+
+class PaymentAppContext {
+ public:
+ using GetAllManifestsCallback = base::Callback<void(
please use gerrit instead 2016/12/09 21:58:47 Please add a comment about the meaning of this dat
zino 2016/12/09 22:30:16 I agree with you. So, I split it into subtypes and
+ const std::vector<
+ std::pair<int64_t, payments::mojom::PaymentAppManifestPtr>>&)>;
+ virtual void GetAllManifests(const GetAllManifestsCallback& callback) = 0;
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_BROWSER_PAYMENT_APP_CONTEXT_H_
« content/browser/payments/payment_app_database.h ('K') | « content/browser/storage_partition_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698