OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_PUBLIC_BROWSER_PAYMENT_APP_CONTEXT_H_ | |
6 #define CONTENT_PUBLIC_BROWSER_PAYMENT_APP_CONTEXT_H_ | |
7 | |
8 #include <utility> | |
9 #include <vector> | |
10 | |
11 #include "base/callback_forward.h" | |
12 | |
13 namespace content { | |
14 | |
15 class PaymentAppContext { | |
16 public: | |
17 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
| |
18 const std::vector< | |
19 std::pair<int64_t, payments::mojom::PaymentAppManifestPtr>>&)>; | |
20 virtual void GetAllManifests(const GetAllManifestsCallback& callback) = 0; | |
21 }; | |
22 | |
23 } // namespace content | |
24 | |
25 #endif // CONTENT_PUBLIC_BROWSER_PAYMENT_APP_CONTEXT_H_ | |
OLD | NEW |