diff options
Diffstat (limited to 'base/metrics/histogram.h')
-rw-r--r-- | base/metrics/histogram.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/base/metrics/histogram.h b/base/metrics/histogram.h index d203e54..69d9b4c 100644 --- a/base/metrics/histogram.h +++ b/base/metrics/histogram.h @@ -54,6 +54,7 @@ #include "base/time.h" class Pickle; +class PickleIterator; namespace base { @@ -404,7 +405,7 @@ class BASE_EXPORT Histogram { void Subtract(const SampleSet& other); bool Serialize(Pickle* pickle) const; - bool Deserialize(void** iter, const Pickle& pickle); + bool Deserialize(PickleIterator* iter); protected: // Actual histogram data is stored in buckets, showing the count of values @@ -757,7 +758,7 @@ class BASE_EXPORT CustomHistogram : public Histogram { // Helper for deserializing CustomHistograms. |*ranges| should already be // correctly sized before this call. Return true on success. - static bool DeserializeRanges(void** iter, const Pickle& pickle, + static bool DeserializeRanges(PickleIterator* iter, std::vector<Histogram::Sample>* ranges); |