| Index: base/metrics/histogram_snapshot_manager.h
|
| diff --git a/base/metrics/histogram_snapshot_manager.h b/base/metrics/histogram_snapshot_manager.h
|
| index 42dbac225d830838db4f998020265ec8fe03e380..318b309fcebebd513590ebc3746aa96dfcf16fe0 100644
|
| --- a/base/metrics/histogram_snapshot_manager.h
|
| +++ b/base/metrics/histogram_snapshot_manager.h
|
| @@ -62,6 +62,9 @@ class BASE_EXPORT HistogramSnapshotManager {
|
| // until FinishDeltas() completes. PrepareAbsolute() works the same
|
| // but assumes there were no previous logged values and no future deltas
|
| // will be created (and thus can work on read-only histograms).
|
| + // PrepareFinalDelta() works like PrepareDelta() except that it does
|
| + // not update the previous logged values and can thus be used with
|
| + // read-only files.
|
| // Use Prepare*TakingOwnership() if it is desireable to have this class
|
| // automatically delete the histogram once it is "finished".
|
| void StartDeltas();
|
| @@ -70,6 +73,8 @@ class BASE_EXPORT HistogramSnapshotManager {
|
| void PrepareAbsolute(const HistogramBase* histogram);
|
| void PrepareAbsoluteTakingOwnership(
|
| std::unique_ptr<const HistogramBase> histogram);
|
| + void PrepareFinalDeltaTakingOwnership(
|
| + std::unique_ptr<const HistogramBase> histogram);
|
| void FinishDeltas();
|
|
|
| private:
|
|
|