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

Unified Diff: Source/core/workers/WorkerGlobalScope.h

Issue 657213004: ServiceWorker: Issue a warning after initial execution of worker script (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add newline Created 6 years, 2 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: Source/core/workers/WorkerGlobalScope.h
diff --git a/Source/core/workers/WorkerGlobalScope.h b/Source/core/workers/WorkerGlobalScope.h
index feb765e2f894fe6b85773e79c7db30ef8420bf9f..18551c35c0e49e7a80cfc1b2e4ccf0dea16a849d 100644
--- a/Source/core/workers/WorkerGlobalScope.h
+++ b/Source/core/workers/WorkerGlobalScope.h
@@ -94,6 +94,7 @@ public:
WorkerConsole* console();
WorkerLocation* location() const;
void close();
+ virtual void postInitialize() { };
kouhei (in TOK) 2014/10/22 07:28:28 Implement this in cpp file. It's better to avoid i
shimazu 2014/10/22 08:33:56 Done.
DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
« no previous file with comments | « no previous file | Source/core/workers/WorkerThread.h » ('j') | Source/modules/serviceworkers/ServiceWorkerGlobalScope.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698