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

Unified Diff: Source/web/WebSharedWorkerImpl.cpp

Issue 1216093003: Service Worker: Migrate to version_uuid and surface ServiceWorker.id. (Blink 1/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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/web/WebSharedWorkerImpl.h ('k') | public/platform/WebServiceWorker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebSharedWorkerImpl.cpp
diff --git a/Source/web/WebSharedWorkerImpl.cpp b/Source/web/WebSharedWorkerImpl.cpp
index 4481e1766bc38fa667a305f91cd7ceae84576926..d564be9f521a85c95dc990644688cb07df11a414 100644
--- a/Source/web/WebSharedWorkerImpl.cpp
+++ b/Source/web/WebSharedWorkerImpl.cpp
@@ -207,10 +207,10 @@ bool WebSharedWorkerImpl::isControlledByServiceWorker(WebDataSource& dataSource)
return m_networkProvider && m_networkProvider->isControlledByServiceWorker(dataSource);
}
-int64_t WebSharedWorkerImpl::serviceWorkerID(WebDataSource& dataSource)
+std::string WebSharedWorkerImpl::serviceWorkerID(WebDataSource& dataSource)
{
if (!m_networkProvider)
- return -1;
+ return std::string();
return m_networkProvider->serviceWorkerID(dataSource);
}
« no previous file with comments | « Source/web/WebSharedWorkerImpl.h ('k') | public/platform/WebServiceWorker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698