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

Unified Diff: third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h

Issue 1957703002: This CL logs the metrics to see the impact of document.write script blocking feature. The metrics a… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 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
Index: third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h
diff --git a/third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h b/third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h
index 1fb8e2ede8d1450c45d999a86f73df64aa22d18c..f6749aa17c821ceea0b95bcb0e8a0e8861dddfb0 100644
--- a/third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h
+++ b/third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h
@@ -15,6 +15,12 @@ namespace blink {
enum WebLoadingBehaviorFlag {
WebLoadingBehaviorNone = 0,
WebLoadingBehaviorDocumentWriteEvaluator = 1 << 0,
+ // Indicates that the page has a synchronous, cross-origin document.written
+ // script.
+ WebLoadingBehaviorDocumentWriteBlock = 1 << 1,
+ // Indicates that the page is a reload and has a synchronous, cross-origin document.written
+ // script.
+ WebLoadingBehaviorDocumentWriteBlockReload = 1 << 2,
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameFetchContext.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698