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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/ResourceRequest.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/ResourceRequest.h
diff --git a/third_party/WebKit/Source/platform/loader/fetch/ResourceRequest.h b/third_party/WebKit/Source/platform/loader/fetch/ResourceRequest.h
index a3e1fdf2fda4c53efb4a232bb5522623063e0e2f..057ad46b9fb7eeeb10dc2fa5e3d1022feb351423 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/ResourceRequest.h
+++ b/third_party/WebKit/Source/platform/loader/fetch/ResourceRequest.h
@@ -318,6 +318,11 @@ class PLATFORM_EXPORT ResourceRequest final {
}
bool IsSameDocumentNavigation() const { return is_same_document_navigation_; }
+ void SetIsMojoIPCForced(bool is_mojo_ipc_forced) {
+ is_mojo_ipc_forced_ = is_mojo_ipc_forced;
+ }
+ bool IsMojoIPCForced() const { return is_mojo_ipc_forced_; }
+
private:
const CacheControlHeader& GetCacheControlHeader() const;
@@ -368,6 +373,8 @@ class PLATFORM_EXPORT ResourceRequest final {
RedirectStatus redirect_status_;
double navigation_start_ = 0;
+
+ bool is_mojo_ipc_forced_ = false;
};
struct CrossThreadResourceRequestData {

Powered by Google App Engine
This is Rietveld 408576698