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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerGlobalScope.h

Issue 185643009: Implement ServiceWorker::postMessage() [Blink] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add layout test 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: Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
index 0c6754da5eea213f9426ffbaa8f3f1a6ef164e85..dbeb7ad1db9af929bc8339c63b43c2b65528796d 100644
--- a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
+++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
@@ -57,6 +57,9 @@ public:
virtual void trace(Visitor*) OVERRIDE;
+ // FIXME: Remove once console.log is hooked up.
+ void poke(const String& message) { WTF_LOG_ERROR("poke: %s", message.utf8().data()); }
kinuko 2014/03/11 07:13:36 Will you remove this from the CL, or are you plann
jsbell 2014/03/11 15:56:41 I'll remove. Now that I have bi-directional workin
jsbell 2014/03/11 20:10:51 Done.
+
private:
ServiceWorkerGlobalScope(const KURL&, const String& userAgent, ServiceWorkerThread*, double timeOrigin, PassOwnPtr<WorkerClients>);
};

Powered by Google App Engine
This is Rietveld 408576698