summaryrefslogtreecommitdiffstats
path: root/chromium/base/metrics/histogram_base.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-12 14:27:29 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-13 09:35:20 +0000
commitc30a6232df03e1efbd9f3b226777b07e087a1122 (patch)
treee992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/base/metrics/histogram_base.h
parent7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff)
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/base/metrics/histogram_base.h')
-rw-r--r--chromium/base/metrics/histogram_base.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/chromium/base/metrics/histogram_base.h b/chromium/base/metrics/histogram_base.h
index de3a2cc6427..7a12fc1989e 100644
--- a/chromium/base/metrics/histogram_base.h
+++ b/chromium/base/metrics/histogram_base.h
@@ -236,7 +236,8 @@ class BASE_EXPORT HistogramBase {
// The following method provides graphical histogram displays.
virtual void WriteAscii(std::string* output) const = 0;
- // Returns histogram data as a Dict with the following format:
+ // Returns histograms data as a Dict (or an empty dict if not available),
+ // with the following format:
// {"header": "Name of the histogram with samples, mean, and/or flags",
// "body": "ASCII histogram representation"}
virtual base::DictionaryValue ToGraphDict() const = 0;
@@ -262,9 +263,9 @@ class BASE_EXPORT HistogramBase {
// Writes information about the current (non-empty) buckets and their sample
// counts to |buckets|, the total sample count to |count| and the total sum
// to |sum|.
- virtual void GetCountAndBucketData(Count* count,
- int64_t* sum,
- ListValue* buckets) const = 0;
+ void GetCountAndBucketData(Count* count,
+ int64_t* sum,
+ ListValue* buckets) const;
//// Produce actual graph (set of blank vs non blank char's) for a bucket.
void WriteAsciiBucketGraph(double current_size,