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

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

Issue 264233003: Add blink-side binding code and tests for ServiceWorker -> Document postMessage (3/3) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove local test remnant Created 6 years, 7 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 | « Source/core/dom/MessageChannel.idl ('k') | Source/modules/serviceworkers/Client.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/Client.h
diff --git a/Source/modules/serviceworkers/Client.h b/Source/modules/serviceworkers/Client.h
index 1ab26fbc163648769057ae5228d73f02f02d2397..d467e47aab790f8df068767aa6f66c676c69f5de 100644
--- a/Source/modules/serviceworkers/Client.h
+++ b/Source/modules/serviceworkers/Client.h
@@ -6,6 +6,7 @@
#define Client_h
#include "bindings/v8/ScriptWrappable.h"
+#include "bindings/v8/SerializedScriptValue.h"
#include "wtf/Forward.h"
namespace WebCore {
@@ -17,6 +18,7 @@ public:
// Client.idl
unsigned id() const { return m_id; }
+ void postMessage(ExecutionContext*, PassRefPtr<SerializedScriptValue> message, const MessagePortArray*, ExceptionState&);
private:
explicit Client(unsigned id);
« no previous file with comments | « Source/core/dom/MessageChannel.idl ('k') | Source/modules/serviceworkers/Client.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698