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

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

Issue 1701843002: ServiceWorker: Implement 'source' and 'origin' attributes of ExtendableMessageEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_focus_into_utils
Patch Set: fix oilpan build Created 4 years, 10 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: third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h
index 1cb45bff0cd2227d29cec5fd8cad98f87cb070f8..0c0df5f800168614392cf9e74bfe521ff2441d92 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h
@@ -71,15 +71,19 @@ public:
const AtomicString& interfaceName() const override;
void internalsTerminate();
+
private:
static ServiceWorker* getOrCreate(ExecutionContext*, PassOwnPtr<WebServiceWorker::Handle>);
ServiceWorker(ExecutionContext*, PassOwnPtr<WebServiceWorker::Handle>);
// Inherit from ContextLifecycleObserver.
bool hasPendingActivity() const override;
+ void contextDestroyed() override;
// A handle to the service worker representation in the embedder.
OwnPtr<WebServiceWorker::Handle> m_handle;
+
+ WebServiceWorkerProvider* m_provider;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698