Introduce the ANNOTATE_LEAKING_OBJECT_PTR annotation that can be used to mark
heap allocated objects as intentionally leaked ones.
Annotate the histograms produced by {Histogram,BooleanHistogram,LinearHistogram,CustomHistogram}::FactoryGet(), as leaked.

Rename StatsHistogram::StatsHistogramFactoryGet to StatsHistogram::FactoryGet, annotate the result as leaky, update the suppressions.

BUG=79322
Review URL: http://codereview.chromium.org/7071036

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


CrOS-Libchrome-Original-Commit: 9b3bbd6118178652747f138fab1fc9ed045d4e0e
2 files changed
tree: 0de7c539a698bba0361b5b1917fdc858ee65a834
  1. base/
  2. build/
  3. ipc/
  4. testing/
  5. third_party/