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

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 829583002: Validate hash_sha256 checksum on .crx update. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unittest build for windows. Created 5 years, 11 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:
Download patch
« no previous file with comments | « extensions/extensions.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 2309a4abe4dc9104531674aa4cc9692facfb7595..4a704d081aa727a53419b5aa3d03e87dccf28d63 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -9016,6 +9016,13 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<summary>Time taken to unpack an extension, when the unpack fails.</summary>
</histogram>
+<histogram name="Extensions.SandboxUnpackHashCheck" enum="BooleanValidHashSum">
+ <owner>ginkage@chromium.org</owner>
+ <summary>
+ Whether a CRX file hash sum was the same as in an updater manifest.
+ </summary>
+</histogram>
+
<histogram name="Extensions.SandboxUnpackInitialCrxPathLength">
<owner>asargent@chromium.org</owner>
<summary>Length of the initial path to the CRX to be unpacked.</summary>
@@ -43682,6 +43689,11 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="1" label="Valid"/>
</enum>
+<enum name="BooleanValidHashSum" type="int">
+ <int value="0" label="Invalid hash sum"/>
+ <int value="1" label="Valid hash sum"/>
+</enum>
+
<enum name="BooleanValidKeyExists" type="int">
<int value="0" label="No Valid Cached Key Found"/>
<int value="1" label="Valid Cached Key Found"/>
@@ -47522,6 +47534,7 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="30" label="INVALID_PATH_FOR_CATALOG"/>
<int value="31" label="ERROR_SERIALIZING_CATALOG"/>
<int value="32" label="ERROR_SAVING_CATALOG"/>
+ <int value="33" label="CRX_HASH_VERIFICATION_FAILED"/>
</enum>
<enum name="ExternalDeviceAction" type="int">
« no previous file with comments | « extensions/extensions.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698