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

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

Issue 966393002: ServiceWorkerVersion: remove unused parameter in DispatchInstallEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: build fix Created 5 years, 10 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_test_helper.cc
diff --git a/content/browser/service_worker/embedded_worker_test_helper.cc b/content/browser/service_worker/embedded_worker_test_helper.cc
index e28ee7281341e59a43735122d2bdedbfde2d3372..fbfc45490c1ae4782ac71b1c236b0e5291268262 100644
--- a/content/browser/service_worker/embedded_worker_test_helper.cc
+++ b/content/browser/service_worker/embedded_worker_test_helper.cc
@@ -137,8 +137,7 @@ void EmbeddedWorkerTestHelper::OnActivateEvent(int embedded_worker_id,
}
void EmbeddedWorkerTestHelper::OnInstallEvent(int embedded_worker_id,
- int request_id,
- int active_version_id) {
+ int request_id) {
// The installing worker may have been doomed and terminated.
if (!registry()->GetWorker(embedded_worker_id))
return;
@@ -283,15 +282,13 @@ void EmbeddedWorkerTestHelper::OnActivateEventStub(int request_id) {
request_id));
}
-void EmbeddedWorkerTestHelper::OnInstallEventStub(int request_id,
- int active_version_id) {
+void EmbeddedWorkerTestHelper::OnInstallEventStub(int request_id) {
base::MessageLoopProxy::current()->PostTask(
FROM_HERE,
base::Bind(&EmbeddedWorkerTestHelper::OnInstallEvent,
weak_factory_.GetWeakPtr(),
current_embedded_worker_id_,
- request_id,
- active_version_id));
+ request_id));
}
void EmbeddedWorkerTestHelper::OnFetchEventStub(

Powered by Google App Engine
This is Rietveld 408576698