Index: third_party/WebKit/public/platform/WebLoadingData.h |
diff --git a/third_party/WebKit/public/platform/WebLoadingData.h b/third_party/WebKit/public/platform/WebLoadingData.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fd9ede18730fefbf1bf8a49281f3b7b3ef43c6de |
--- /dev/null |
+++ b/third_party/WebKit/public/platform/WebLoadingData.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 WebLoadingData_h |
+#define WebLoadingData_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 WebLoadingData { |
esprehn
2016/04/05 22:32:17
WebLoadingData sounds like a storage type, I think
Charlie Harrison
2016/04/06 14:24:51
Changed to WebLoadingBehaviorFlag.
|
+ NoLoadingData = 0, |
+ DocumentWriteEvaluatorExperiment = 1 << 0, |
kinuko
2016/04/06 05:54:14
We prefer having the same prefix for top-level enu
Charlie Harrison
2016/04/06 14:24:51
Done.
|
+}; |
+ |
+} // namespace blink |
+ |
+#endif // WebLoadingData_h |