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

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

Issue 2610163002: PaymentApp: Implement InvokePaymentApp() in browser side. (Closed)
Patch Set: PaymentApp: Implement InvokePaymentApp() in content/browser side. 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
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..001b5038fdea5dfccc91c06014908917f9e92efb 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 init_payment_app_invoked() const;
please use gerrit instead 2017/01/12 19:04:00 Only simple getters and settings can use hacker_ca
zino 2017/01/13 16:41:11 Done.
+ bool payment_app_invoked() const;
+ int64_t last_sw_registration_id() const;
+ const GURL& last_sw_scope_url() const;
+
private:
StoragePartitionImpl* storage_partition();
PaymentAppContextImpl* payment_app_context();
+ struct PaymentAppForWorkerTestHelper;
please use gerrit instead 2017/01/12 19:04:00 Forward declarations should precede method declara
zino 2017/01/13 16:41:10 Done.
+
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);

Powered by Google App Engine
This is Rietveld 408576698