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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/FetchContext.h

Issue 2807533003: [WIP2] off-main-thread loading
Patch Set: call set_is_secure_context in EmbeddedSharedWorkerStub::CreateWorkerFetchContext() 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/platform/loader/fetch/FetchContext.h
diff --git a/third_party/WebKit/Source/platform/loader/fetch/FetchContext.h b/third_party/WebKit/Source/platform/loader/fetch/FetchContext.h
index b598b7627b80094d977bbcca19eeb6148bc2b3f6..e5f423e185917d9d4f74821335eee09d610aeba4 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/FetchContext.h
+++ b/third_party/WebKit/Source/platform/loader/fetch/FetchContext.h
@@ -176,6 +176,8 @@ class PLATFORM_EXPORT FetchContext
virtual bool IsControlledByServiceWorker() const { return false; }
virtual int64_t ServiceWorkerID() const { return -1; }
+ virtual int ApplicationCacheHostID() const { return 0; }
+
virtual bool IsMainFrame() const { return true; }
virtual bool DefersLoading() const { return false; }
virtual bool IsLoadComplete() const { return false; }
@@ -209,12 +211,15 @@ class PLATFORM_EXPORT FetchContext
return priority;
}
+ virtual RefPtr<WebTaskRunner> TimerTaskRunner() const { return nullptr; }
virtual RefPtr<WebTaskRunner> LoadingTaskRunner() const { return nullptr; }
PlatformProbeSink* GetPlatformProbeSink() const {
return platform_probe_sink_;
}
+ virtual Resource::ResourceCallback* GetResourceCallback() { return nullptr; }
+
virtual std::unique_ptr<WebURLLoader> CreateURLLoader() { return nullptr; }
protected:

Powered by Google App Engine
This is Rietveld 408576698