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

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

Issue 306133002: WebServiceWorkerProxy instances can be unwrapped to ServiceWorkers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Crib from WebNode: make m_private protected to avoid unused field warnings. 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 | « no previous file | Source/modules/serviceworkers/ServiceWorker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/ServiceWorker.h
diff --git a/Source/modules/serviceworkers/ServiceWorker.h b/Source/modules/serviceworkers/ServiceWorker.h
index 9e49f4dcef7f107ba6b0269be71d26860225522b..111e02de8ee4a3df5522e9c7255880d608c7bbaa 100644
--- a/Source/modules/serviceworkers/ServiceWorker.h
+++ b/Source/modules/serviceworkers/ServiceWorker.h
@@ -42,10 +42,6 @@
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
-namespace blink {
-class WebServiceWorker;
-}
-
namespace WebCore {
class ScriptState;
@@ -64,6 +60,8 @@ public:
typedef blink::WebServiceWorker WebType;
static PassRefPtr<ServiceWorker> from(ScriptPromiseResolverWithContext*, WebType* worker);
+ static PassRefPtr<ServiceWorker> from(ScriptState*, WebType*);
+
void postMessage(PassRefPtr<SerializedScriptValue> message, const MessagePortArray*, ExceptionState&);
String scope() const;
« no previous file with comments | « no previous file | Source/modules/serviceworkers/ServiceWorker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698