Add explicit tests for histogram factory matching.

Two instances of the same histogram has worked since landed with http://src.chromium.org/viewvc/chrome?view=rev&revision=33933 , but wasn't tested. This CL adds a short test that makes sure we have this functionality.

In order to keep the tests isolated from each other (so they don't inadvertantly start depending on each other), we have to add a test fixture to initialize and clear a StatisticsRecorder for each test.

R=jar@chromium.org,rvargas@chromium.org
BUG=None


Review URL: https://chromiumcodereview.appspot.com/11272044

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164536 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: 5841981c95b003b50c4580de1c21b4bd5c0e3aa3
4 files changed
tree: a1b3cf9a13777bd12fab411010298aa8cb92770c
  1. base/
  2. build/
  3. dbus/
  4. ipc/
  5. testing/
  6. third_party/