Chromium Code Reviews| 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..8f15f75702a631876be34b7c2bfc174de18e23de |
| --- /dev/null |
| +++ b/content/public/browser/payment_app_context.h |
| @@ -0,0 +1,21 @@ |
| +// 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 "base/callback_forward.h" |
| + |
| +namespace content { |
| + |
| +class PaymentAppContext { |
| + public: |
| + using GetAllManifestsCallback = base::Callback<void( |
| + const std::map<int64_t, payments::mojom::PaymentAppManifestPtr>&)>; |
| + virtual void GetAllManifests(const GetAllManifestsCallback& callback) = 0; |
|
zino
2016/12/07 12:33:02
Tommy,
To query all manifest data, I think you ca
tommyt
2016/12/07 12:41:54
I think that sounds good. I will make the change y
|
| +}; |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_PUBLIC_BROWSER_PAYMENT_APP_CONTEXT_H_ |