summaryrefslogtreecommitdiffstats
path: root/base/metrics
diff options
context:
space:
mode:
authorisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-12 09:53:05 +0000
committerisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-12 09:53:05 +0000
commitc689f5efa5f153a5e602b2e5fac6958f6fbdace2 (patch)
tree2657de924a460a3d30e6175f8d2a99bba98e1705 /base/metrics
parent52de6ae92ded096bcc683a5d77b5f81fb1df0996 (diff)
downloadchromium_src-c689f5efa5f153a5e602b2e5fac6958f6fbdace2.zip
chromium_src-c689f5efa5f153a5e602b2e5fac6958f6fbdace2.tar.gz
chromium_src-c689f5efa5f153a5e602b2e5fac6958f6fbdace2.tar.bz2
[Metrics] Don't require clients of StatisticsDeltaReader to call StatisticsRecorder::Initialize().
BUG=none TEST=none R=asvitkine@chromium.org TBR=willchan@chromium.org Review URL: https://codereview.chromium.org/184203002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256495 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/metrics')
-rw-r--r--base/metrics/statistics_recorder.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/base/metrics/statistics_recorder.h b/base/metrics/statistics_recorder.h
index 7a81826..3bef622 100644
--- a/base/metrics/statistics_recorder.h
+++ b/base/metrics/statistics_recorder.h
@@ -30,7 +30,7 @@ class BASE_EXPORT StatisticsRecorder {
public:
typedef std::vector<HistogramBase*> Histograms;
- // Initializes the StatisticsRecorder system.
+ // Initializes the StatisticsRecorder system. Safe to call multiple times.
static void Initialize();
// Find out if histograms can now be registered into our list.
@@ -89,7 +89,6 @@ class BASE_EXPORT StatisticsRecorder {
friend class HistogramSnapshotManagerTest;
friend class HistogramTest;
friend class SparseHistogramTest;
- friend class StatisticsDeltaReaderTest;
friend class StatisticsRecorderTest;
FRIEND_TEST_ALL_PREFIXES(HistogramDeltaSerializationTest,
DeserializeHistogramAndAddSamples);