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

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

Issue 270303004: Revert of Add blink-side plumbing for ServiceWorker -> Document postMessage (1/3) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/NavigatorServiceWorker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/NavigatorServiceWorker.h
diff --git a/Source/modules/serviceworkers/NavigatorServiceWorker.h b/Source/modules/serviceworkers/NavigatorServiceWorker.h
index 8be661bb81a790abcec09f98ecf2d7338ffeef95..e1815657dd674b5c23cdb7db50abd0ef88a8a5da 100644
--- a/Source/modules/serviceworkers/NavigatorServiceWorker.h
+++ b/Source/modules/serviceworkers/NavigatorServiceWorker.h
@@ -5,13 +5,13 @@
#ifndef NavigatorServiceWorker_h
#define NavigatorServiceWorker_h
+#include "bindings/v8/ScriptPromise.h"
#include "core/frame/Navigator.h"
#include "platform/Supplementable.h"
#include "platform/heap/Handle.h"
namespace WebCore {
-class Document;
class Navigator;
class ServiceWorkerContainer;
@@ -19,7 +19,6 @@
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NavigatorServiceWorker);
public:
virtual ~NavigatorServiceWorker();
- static NavigatorServiceWorker* from(Document&);
static NavigatorServiceWorker& from(Navigator&);
static NavigatorServiceWorker* toNavigatorServiceWorker(Navigator&);
static const char* supplementName();
« no previous file with comments | « no previous file | Source/modules/serviceworkers/NavigatorServiceWorker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698