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

Unified Diff: content/browser/service_worker/embedded_worker_instance_unittest.cc

Issue 2313653002: ServiceWorker: Exchange InterfaceProviders when starting worker thread (Closed)
Patch Set: Updated comments and fixed a typo Created 4 years, 2 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/service_worker/embedded_worker_instance_unittest.cc
diff --git a/content/browser/service_worker/embedded_worker_instance_unittest.cc b/content/browser/service_worker/embedded_worker_instance_unittest.cc
index ed332f66bfffc3da944e1b02a023336e002f83fc..08fa4dd6780bf3749f2650c851553dad65f78908 100644
--- a/content/browser/service_worker/embedded_worker_instance_unittest.cc
+++ b/content/browser/service_worker/embedded_worker_instance_unittest.cc
@@ -726,7 +726,10 @@ class FailEmbeddedWorkerInstanceClientImpl
: EmbeddedWorkerTestHelper::MockEmbeddedWorkerInstanceClient(helper) {}
private:
- void StartWorker(const EmbeddedWorkerStartParams& /* unused */) override {
+ void StartWorker(
+ const EmbeddedWorkerStartParams& /* unused */,
+ service_manager::mojom::InterfaceProviderPtr /* unused */,
+ service_manager::mojom::InterfaceProviderRequest /* unused */) override {
helper_->mock_instance_clients()->clear();
}
};

Powered by Google App Engine
This is Rietveld 408576698