Break a single histogram into two histograms
commit4a65637a73afc2ae43c2b8a8880b36e513b765a0
authorasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 16 Apr 2014 22:14:47 +0000 (16 22:14 +0000)
committerasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 16 Apr 2014 22:14:47 +0000 (16 22:14 +0000)
treeced29a9f23b367cf207256d2fb91ab29dfbf1532
parentf76dc353b84dcdd78de944db874424c4f4b14b95
Break a single histogram into two histograms

This histogram records a networking result that if positive indicates a
byte count, and if negative indicates an error code. Since histograms
can't handle negative values, this splits that up into two: one for the
byte count, and one that will use an existing enum for the network
error code.

This was based off of a suggestion in codereview.chromium.org/236023005

BUG=360909

Review URL: https://codereview.chromium.org/235893017

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264323 0039d316-1c4b-4281-b951-d872f2087c98
extensions/browser/extension_protocols.cc