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

Unified Diff: third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.cpp

Issue 2701753003: [WIP] off-main-thread loading
Patch Set: small fix Created 3 years, 8 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/core/loader/appcache/ApplicationCacheHost.cpp
diff --git a/third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.cpp b/third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.cpp
index b8e56498021cc22d5f2adf3f7199961ad30937fa..626736315cabd6c66c532ceaff7976a55a74f108 100644
--- a/third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.cpp
+++ b/third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.cpp
@@ -234,6 +234,12 @@ ApplicationCacheHost::CacheInfo ApplicationCacheHost::applicationCacheInfo() {
webInfo.updateTime, webInfo.totalSize);
}
+int ApplicationCacheHost::getHostID() const {
+ if (!m_host)
+ return 0;
+ return m_host->getHostID();
+}
+
void ApplicationCacheHost::fillResourceList(ResourceInfoList* resources) {
if (!m_host)
return;

Powered by Google App Engine
This is Rietveld 408576698