| Index: content/browser/payments/payment_app_content_unittest_base.h
|
| diff --git a/content/browser/payments/payment_app_content_unittest_base.h b/content/browser/payments/payment_app_content_unittest_base.h
|
| index b0d9ce9ea2a0d09dc854484355361c74057f1df2..bcb4e1098a5796acc91074433f72e76b89fe82f7 100644
|
| --- a/content/browser/payments/payment_app_content_unittest_base.h
|
| +++ b/content/browser/payments/payment_app_content_unittest_base.h
|
| @@ -19,7 +19,6 @@
|
| namespace content {
|
|
|
| class BrowserContext;
|
| -class EmbeddedWorkerTestHelper;
|
| class PaymentAppContextImpl;
|
| class StoragePartitionImpl;
|
| class TestBrowserThreadBundle;
|
| @@ -41,12 +40,19 @@ class PaymentAppContentUnitTestBase : public testing::Test {
|
| const std::string& name);
|
| void UnregisterServiceWorker(const GURL& scope_url);
|
|
|
| + void ResetPaymentAppInvoked() const;
|
| + bool payment_app_invoked() const;
|
| + int64_t last_sw_registration_id() const;
|
| + const GURL& last_sw_scope_url() const;
|
| +
|
| private:
|
| + class PaymentAppForWorkerTestHelper;
|
| +
|
| StoragePartitionImpl* storage_partition();
|
| PaymentAppContextImpl* payment_app_context();
|
|
|
| std::unique_ptr<TestBrowserThreadBundle> thread_bundle_;
|
| - std::unique_ptr<EmbeddedWorkerTestHelper> embedded_worker_helper_;
|
| + std::unique_ptr<PaymentAppForWorkerTestHelper> worker_helper_;
|
| std::vector<payments::mojom::PaymentAppManagerPtr> payment_app_managers_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(PaymentAppContentUnitTestBase);
|
|
|