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

Unified Diff: public/web/WebSharedWorkerClient.h

Issue 1175463004: Cleanup: Remove WeakPtr usage in WebSharedWorkerImpl (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: more documentation Created 5 years, 6 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
« no previous file with comments | « public/web/WebSharedWorker.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebSharedWorkerClient.h
diff --git a/public/web/WebSharedWorkerClient.h b/public/web/WebSharedWorkerClient.h
index e79c1fc37961d0b111e846f9e7a6e7d74551a14a..cae31174b8212268b3e659d5768f8f952ac60088 100644
--- a/public/web/WebSharedWorkerClient.h
+++ b/public/web/WebSharedWorkerClient.h
@@ -48,6 +48,9 @@ class WebWorkerContentSettingsClientProxy;
// Provides an interface back to the in-page script object for a worker.
// All functions are expected to be called back on the thread that created
// the Worker object, unless noted.
+// An instance of this class must outlive or must have the identical lifetime
+// as WebSharedWorker (i.e. must be kept alive until workerScriptLoadFailed()
+// or workerContextDestroyed() is called).
class WebSharedWorkerClient {
public:
virtual void workerContextClosed() = 0;
« no previous file with comments | « public/web/WebSharedWorker.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698