OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 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_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_PAYMENT_APP_PROVIDER_IMPL_
H_ |
| 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_PAYMENT_APP_PROVIDER_IMPL_
H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "content/shell/common/layout_test/layout_test_payment_app_provider.mojo
m.h" |
| 10 |
| 11 namespace content { |
| 12 |
| 13 class LayoutTestPaymentAppProviderImpl |
| 14 : public mojom::LayoutTestPaymentAppProvider { |
| 15 public: |
| 16 LayoutTestPaymentAppProviderImpl(); |
| 17 ~LayoutTestPaymentAppProviderImpl() override; |
| 18 |
| 19 static void Create(mojom::LayoutTestPaymentAppProviderRequest request); |
| 20 |
| 21 private: |
| 22 // Implmenetation of LayoutTestPaymentAppProvider |
| 23 void GetAllPaymentAppIDs( |
| 24 const GetAllPaymentAppIDsCallback& callback) override; |
| 25 void InvokePaymentApp(int64_t registration_id) override; |
| 26 |
| 27 DISALLOW_COPY_AND_ASSIGN(LayoutTestPaymentAppProviderImpl); |
| 28 }; |
| 29 |
| 30 } // namespace content |
| 31 |
| 32 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_PAYMENT_APP_PROVIDER_IM
PL_H_ |
OLD | NEW |