Index: content/shell/browser/layout_test/layout_test_payment_app_provider_impl.h |
diff --git a/content/shell/browser/layout_test/layout_test_payment_app_provider_impl.h b/content/shell/browser/layout_test/layout_test_payment_app_provider_impl.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1e75ad09db046395f8c7bdf03ef95979f79cea92 |
--- /dev/null |
+++ b/content/shell/browser/layout_test/layout_test_payment_app_provider_impl.h |
@@ -0,0 +1,32 @@ |
+// Copyright 2017 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_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_PAYMENT_APP_PROVIDER_IMPL_H_ |
+#define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_PAYMENT_APP_PROVIDER_IMPL_H_ |
+ |
+#include "base/macros.h" |
+#include "content/shell/common/layout_test/layout_test_payment_app_provider.mojom.h" |
+ |
+namespace content { |
+ |
+class LayoutTestPaymentAppProviderImpl |
+ : public mojom::LayoutTestPaymentAppProvider { |
+ public: |
+ LayoutTestPaymentAppProviderImpl(); |
+ ~LayoutTestPaymentAppProviderImpl() override; |
+ |
+ static void Create(mojom::LayoutTestPaymentAppProviderRequest request); |
+ |
+ private: |
+ // Implmenetation of LayoutTestPaymentAppProvider |
+ void GetAllPaymentAppIDs( |
+ const GetAllPaymentAppIDsCallback& callback) override; |
+ void InvokePaymentApp(int64_t registration_id) override; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(LayoutTestPaymentAppProviderImpl); |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_PAYMENT_APP_PROVIDER_IMPL_H_ |