Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(390)

Unified Diff: content/browser/payments/payment_app_content_unittest_base.h

Issue 2610163002: PaymentApp: Implement InvokePaymentApp() in browser side. (Closed)
Patch Set: nhiroki's comments Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/payments/payment_app_content_unittest_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | content/browser/payments/payment_app_content_unittest_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698