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

Unified Diff: third_party/WebKit/Source/web/LocalFrameClientImpl.cpp

Issue 2733283004: Expose WebServiceWorkerNetworkProvider on DataSource (Closed)
Patch Set: crash fix Created 3 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: third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp b/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
index 73c1b65eae7e909e3c67d43e77b7aad96d22c5d4..31528fbc974a47369f34d93bd9ea28195d94fd3a 100644
--- a/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
+++ b/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
@@ -946,19 +946,6 @@ LocalFrameClientImpl::createServiceWorkerProvider() {
return WTF::wrapUnique(m_webFrame->client()->createServiceWorkerProvider());
}
-bool LocalFrameClientImpl::isControlledByServiceWorker(DocumentLoader& loader) {
- return m_webFrame->client() &&
- m_webFrame->client()->isControlledByServiceWorker(
- *WebDataSourceImpl::fromDocumentLoader(&loader));
-}
-
-int64_t LocalFrameClientImpl::serviceWorkerID(DocumentLoader& loader) {
- if (!m_webFrame->client())
- return -1;
- return m_webFrame->client()->serviceWorkerID(
- *WebDataSourceImpl::fromDocumentLoader(&loader));
-}
-
SharedWorkerRepositoryClient*
LocalFrameClientImpl::sharedWorkerRepositoryClient() {
return m_webFrame->sharedWorkerRepositoryClient();

Powered by Google App Engine
This is Rietveld 408576698