Index: tools/metrics/histograms/histograms.xml |
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
index bd799a0e4cf00236e444701fc3212cade57d85bb..bdbf274cfdd9c72566c05628bc8d5c4722a0aa61 100644 |
--- a/tools/metrics/histograms/histograms.xml |
+++ b/tools/metrics/histograms/histograms.xml |
@@ -8990,6 +8990,31 @@ other types of suffix sets. |
</summary> |
</histogram> |
+<histogram name="WebHistory.LocalResultMissingOnServer" units="%"> |
+ <summary> |
+ Percentage of results that are present locally but are not returned by the |
+ web history API call. Recorded every time a signed-in user visits the |
+ chrome://history page and the results from the web history are received. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="WebHistory.QueryCompletion" enum="WebHistoryStatus"> |
+ <summary> |
+ Whether the web history API call was successful. Every time a signed-in user |
+ visits the chrome://history page this query is executed to get the user's |
+ synced web history. If successful, the local and remote results are merged |
+ and shown in the history page. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="WebHistory.ResponseTime" units="milliseconds"> |
+ <summary> |
+ Time it took for the web history to reply. Recorded when the web history API |
+ call triggered by visiting chrome://history receives the data, measuring how |
+ much time it took for the server to reply. |
+ </summary> |
+</histogram> |
+ |
<histogram name="WinTimeTicks.FailedToChangeCores" enum="WindowsVersion"> |
<summary> |
Incremented each time the TimeTicks field trial runs on a machine with |
@@ -13859,6 +13884,12 @@ other types of suffix sets. |
<int value="11" label="Require phone number"/> |
</enum> |
+<enum name="WebHistoryStatus" type="int"> |
+ <int value="0" label="WEB_HISTORY_QUERY_FAILED">Failed</int> |
+ <int value="1" label="WEB_HISTORY_QUERY_SUCCEEDED">Succeeded</int> |
+ <int value="2" label="WEB_HISTORY_QUERY_TIMED_OUT">Timed out</int> |
+</enum> |
+ |
<enum name="WebSocketHandshakeResult" type="int"> |
<int value="0" label="Incomplete"/> |
<int value="1" label="Normal"/> |