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

Unified Diff: content/browser/service_worker/embedded_worker_instance.h

Issue 739383002: Don't drop messages/events send to a service worker that is stopping. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@termnate_sw
Patch Set: Created 6 years, 1 month 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.h
diff --git a/content/browser/service_worker/embedded_worker_instance.h b/content/browser/service_worker/embedded_worker_instance.h
index 75813248ff6d417cf729fc07a871764f1fb7d77d..3716558ae4ef6b061ca43c21f77902bd4fc81434 100644
--- a/content/browser/service_worker/embedded_worker_instance.h
+++ b/content/browser/service_worker/embedded_worker_instance.h
@@ -50,7 +50,7 @@ class CONTENT_EXPORT EmbeddedWorkerInstance {
public:
virtual ~Listener() {}
virtual void OnStarted() {}
- virtual void OnStopped() {}
+ virtual void OnStopped(Status old_status) {}
virtual void OnPausedAfterDownload() {}
virtual void OnReportException(const base::string16& error_message,
int line_number,

Powered by Google App Engine
This is Rietveld 408576698