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

Unified Diff: content/child/service_worker/web_service_worker_impl.h

Issue 688413002: Add terminateServiceWorker method for layout tests - chromium side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move message 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/child/service_worker/web_service_worker_impl.h
diff --git a/content/child/service_worker/web_service_worker_impl.h b/content/child/service_worker/web_service_worker_impl.h
index b1ede903677333a061a0fbf25c9425c6b5bf1e31..9815cb01cfa354f920907b231a0dba031afe4e78 100644
--- a/content/child/service_worker/web_service_worker_impl.h
+++ b/content/child/service_worker/web_service_worker_impl.h
@@ -52,6 +52,7 @@ class WebServiceWorkerImpl
virtual blink::WebServiceWorkerState state() const;
virtual void postMessage(const blink::WebString& message,
blink::WebMessagePortChannelArray* channels);
+ virtual void terminate();
private:
// Commits the new state internally and notifies the proxy of the change.

Powered by Google App Engine
This is Rietveld 408576698