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

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

Issue 1846143003: Propogate loading behavior data from Blink to content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: japhet@ review Created 4 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/public/platform/WebLoadingBehaviorFlag.h
diff --git a/third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h b/third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h
new file mode 100644
index 0000000000000000000000000000000000000000..1fb8e2ede8d1450c45d999a86f73df64aa22d18c
--- /dev/null
+++ b/third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h
@@ -0,0 +1,22 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WebLoadingBehaviorFlag_h
+#define WebLoadingBehaviorFlag_h
+
+namespace blink {
+
+// This enum tracks certain behavior Blink exhibits when loading a page. This is
+// for use in metrics collection by the loading team, to evaluate experimental
+// features and potential areas of improvement in the loading stack. The main
+// consumer is the page_load_metrics component, which sends bit flags to the
+// browser process for histogram splitting.
+enum WebLoadingBehaviorFlag {
+ WebLoadingBehaviorNone = 0,
+ WebLoadingBehaviorDocumentWriteEvaluator = 1 << 0,
+};
+
+} // namespace blink
+
+#endif // WebLoadingBehaviorFlag_h
« no previous file with comments | « third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp ('k') | third_party/WebKit/public/web/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698