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

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

Issue 205563006: Add a status code to install event handled message from Service Worker (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 70f7f0cb36710a6f57f605fe107abdde04408f0e..e9527b49b503898950d12e32889a691ef1235f67 100644
--- a/content/browser/service_worker/embedded_worker_test_helper.cc
+++ b/content/browser/service_worker/embedded_worker_test_helper.cc
@@ -94,7 +94,8 @@ void EmbeddedWorkerTestHelper::OnInstallEvent(
SimulateSendMessageToBrowser(
embedded_worker_id,
request_id,
- ServiceWorkerHostMsg_InstallEventFinished());
+ ServiceWorkerHostMsg_InstallEventFinished(
+ SERVICE_WORKER_INSTALL_EVENT_RESULT_COMPLETED));
}
void EmbeddedWorkerTestHelper::OnFetchEvent(

Powered by Google App Engine
This is Rietveld 408576698