Index: tools/metrics/histograms/histograms.xml |
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
index 73f04962b4d5dc45e500d66100c1be979fd4ef83..8fe91cb5f58da1c522888e0defbf6b672272e993 100644 |
--- a/tools/metrics/histograms/histograms.xml |
+++ b/tools/metrics/histograms/histograms.xml |
@@ -63573,6 +63573,19 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
</summary> |
</histogram> |
+<histogram name="Sync.WorkerApplyHasEncryptedUpdates" |
+ enum="BooleanHasEncryptedUpdates"> |
rkaplow
2016/10/20 17:31:10
nit, instead of a custom Boolean.. I would just us
skym
2016/10/20 18:38:04
Done.
|
+ <owner>skym@chromium.org</owner> |
+ <summary> |
+ During ApplyUpdates in the ModelTypeWorker (USS only), if there are still |
+ encrypted updates, but the cryptographer has no pending keys. This state |
rkaplow
2016/10/20 17:31:10
can you reword? This first sentance isn't making s
maxbogue
2016/10/20 18:12:46
I suggest "Whether there are still encrypted updat
skym
2016/10/20 18:38:04
Done.
skym
2016/10/20 18:38:04
Done.
|
+ should be extermely rare, due to a bug or inconsistent GetUpdates that |
maxbogue
2016/10/20 18:12:46
extremely*
skym
2016/10/20 18:38:04
Done.
|
+ contain newly encrypted entities but not the update Nigori node. Having |
+ encrypted updates at this point in the sync cycle is an invalid state, and |
+ has the potential to cause a loss of user data. |
+ </summary> |
+</histogram> |
+ |
<histogram name="Sync.YoungestForeignTabAgeOnNTP" units="seconds"> |
<owner>skym@chromium.org</owner> |
<summary>Upon NTP load, the age of the youngest synced foreign tab.</summary> |
@@ -74355,6 +74368,11 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
<int value="1" label="Has distilled data"/> |
</enum> |
+<enum name="BooleanHasEncryptedUpdates" type="int"> |
+ <int value="0" label="No encrypted updates"/> |
+ <int value="1" label="Has encrypted updates"/> |
+</enum> |
+ |
<enum name="BooleanHasPath" type="int"> |
<int value="0" label="No path"/> |
<int value="1" label="Has path"/> |