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

Unified Diff: third_party/WebKit/public/web/WebFrameClient.h

Issue 2834013002: PlzNavigate: make MHTML iframe load working. (Closed)
Patch Set: rebase Created 3 years, 7 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 | « third_party/WebKit/Source/web/LocalFrameClientImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebFrameClient.h
diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h
index fffda44dc03c5a19304f9337fc57afe53daeceae..63f00ca7f0422aea6e5970a5e5d0726c5bcb9ac7 100644
--- a/third_party/WebKit/public/web/WebFrameClient.h
+++ b/third_party/WebKit/public/web/WebFrameClient.h
@@ -320,6 +320,11 @@ class BLINK_EXPORT WebFrameClient {
WebContentSecurityPolicyDisposition
should_check_main_world_content_security_policy;
+ // Specify whether or not a MHTML Archive can be used to load a subframe
+ // resource instead of doing a network request.
+ enum class ArchiveStatus { Absent, Present };
+ ArchiveStatus archive_status;
+
explicit NavigationPolicyInfo(WebURLRequest& url_request)
: extra_data(nullptr),
url_request(url_request),
@@ -330,7 +335,8 @@ class BLINK_EXPORT WebFrameClient {
is_client_redirect(false),
is_cache_disabled(false),
should_check_main_world_content_security_policy(
- kWebContentSecurityPolicyDispositionCheck) {}
+ kWebContentSecurityPolicyDispositionCheck),
+ archive_status(ArchiveStatus::Absent) {}
};
virtual WebNavigationPolicy DecidePolicyForNavigation(
« no previous file with comments | « third_party/WebKit/Source/web/LocalFrameClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698