summaryrefslogtreecommitdiffstats
path: root/base/metrics
diff options
context:
space:
mode:
authoretienneb@chromium.org <etienneb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-20 08:37:34 +0000
committeretienneb@chromium.org <etienneb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-20 08:37:34 +0000
commited0f2377178f261bf146b404e9a1dfc82daba40a (patch)
treef67243ea1ea3678b7b5ce2aae551b2770ee9df47 /base/metrics
parent1032f48cd57adb1023b601f6bd26a3e8859f62d6 (diff)
downloadchromium_src-ed0f2377178f261bf146b404e9a1dfc82daba40a.zip
chromium_src-ed0f2377178f261bf146b404e9a1dfc82daba40a.tar.gz
chromium_src-ed0f2377178f261bf146b404e9a1dfc82daba40a.tar.bz2
Fix multiples typos while reading histogram.
R=isherman@chromium.org BUG= Review URL: https://codereview.chromium.org/76543002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236206 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/metrics')
-rw-r--r--base/metrics/histogram.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/base/metrics/histogram.h b/base/metrics/histogram.h
index f2566ca..9845362 100644
--- a/base/metrics/histogram.h
+++ b/base/metrics/histogram.h
@@ -23,7 +23,7 @@
// agree exactly in type, bucket size and range.
// For Histogram and LinearHistogram, the maximum for a declared range should
-// always be larger (not equal) than minmal range. Zero and
+// always be larger (not equal) than minimal range. Zero and
// HistogramBase::kSampleType_MAX are implicitly added as first and last ranges,
// so the smallest legal bucket_count is 3. However CustomHistogram can have
// bucket count as 2 (when you give a custom ranges vector containing only 1
@@ -96,7 +96,7 @@ class Lock;
// process.
// The following code is generally what a thread-safe static pointer
-// initializaion looks like for a histogram (after a macro is expanded). This
+// initialization looks like for a histogram (after a macro is expanded). This
// sample is an expansion (with comments) of the code for
// HISTOGRAM_CUSTOM_COUNTS().
@@ -107,7 +107,7 @@ class Lock;
static base::subtle::AtomicWord atomic_histogram_pointer = 0;
// Acquire_Load() ensures that we acquire visibility to the pointed-to data
- // in the histogrom.
+ // in the histogram.
base::Histogram* histogram_pointer(reinterpret_cast<base::Histogram*>(
base::subtle::Acquire_Load(&atomic_histogram_pointer)));
@@ -421,7 +421,7 @@ class BASE_EXPORT Histogram : public HistogramBase {
virtual int FindCorruption(const HistogramSamples& samples) const OVERRIDE;
//----------------------------------------------------------------------------
- // Accessors for factory constuction, serialization and testing.
+ // Accessors for factory construction, serialization and testing.
//----------------------------------------------------------------------------
Sample declared_min() const { return declared_min_; }
Sample declared_max() const { return declared_max_; }
@@ -604,7 +604,7 @@ class BASE_EXPORT LinearHistogram : public Histogram {
static HistogramBase* DeserializeInfoImpl(PickleIterator* iter);
// For some ranges, we store a printable description of a bucket range.
- // If there is no desciption, then GetAsciiBucketRange() uses parent class
+ // If there is no description, then GetAsciiBucketRange() uses parent class
// to provide a description.
typedef std::map<Sample, std::string> BucketDescriptionMap;
BucketDescriptionMap bucket_description_;