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

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

Issue 1846143003: Propogate loading behavior data from Blink to content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change null enum name 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/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

Powered by Google App Engine
This is Rietveld 408576698