diff options
author | skerner@chromium.org <skerner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-09 15:03:07 +0000 |
---|---|---|
committer | skerner@chromium.org <skerner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-09 15:03:07 +0000 |
commit | cb0e5031953674b26014426ed9472d894c1e4653 (patch) | |
tree | 903d11251b28a3547313332d57e58b7781b33fa4 /chrome/browser/extensions/sandboxed_extension_unpacker.cc | |
parent | 7f7c3ffe0daa85c72b98d567e01e146229ad99be (diff) | |
download | chromium_src-cb0e5031953674b26014426ed9472d894c1e4653.zip chromium_src-cb0e5031953674b26014426ed9472d894c1e4653.tar.gz chromium_src-cb0e5031953674b26014426ed9472d894c1e4653.tar.bz2 |
Add histograms to understand why so many CRX installs fail in the field.
* Report path length to extensions dir.
* Report cause and install source in histograms.
* Add histogram to show why writing an update to a file might fail.
* Don't create installer for crx that can't be read.
BUG=81687
TEST=Manual: look at about:histogram
Review URL: http://codereview.chromium.org/6932045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84617 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/sandboxed_extension_unpacker.cc')
-rw-r--r-- | chrome/browser/extensions/sandboxed_extension_unpacker.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/browser/extensions/sandboxed_extension_unpacker.cc b/chrome/browser/extensions/sandboxed_extension_unpacker.cc index f449b6a..8e31ddf 100644 --- a/chrome/browser/extensions/sandboxed_extension_unpacker.cc +++ b/chrome/browser/extensions/sandboxed_extension_unpacker.cc @@ -472,7 +472,6 @@ bool SandboxedExtensionUnpacker::ValidateSignature() { void SandboxedExtensionUnpacker::ReportFailure(FailureReason reason, const std::string& error) { - UMA_HISTOGRAM_COUNTS("Extensions.SandboxUnpackFailure", 1); UMA_HISTOGRAM_ENUMERATION("Extensions.SandboxUnpackFailureReason", reason, NUM_FAILURE_REASONS); UMA_HISTOGRAM_TIMES("Extensions.SandboxUnpackFailureTime", |