| Index: base/metrics/histogram_base.h
|
| ===================================================================
|
| --- base/metrics/histogram_base.h (revision 221170)
|
| +++ base/metrics/histogram_base.h (working copy)
|
| @@ -7,6 +7,7 @@
|
|
|
| #include <string>
|
|
|
| +#include "base/atomicops.h"
|
| #include "base/base_export.h"
|
| #include "base/basictypes.h"
|
| #include "base/memory/scoped_ptr.h"
|
| @@ -50,8 +51,8 @@
|
|
|
| class BASE_EXPORT HistogramBase {
|
| public:
|
| - typedef int Sample; // Used for samples.
|
| - typedef int Count; // Used to count samples.
|
| + typedef int Sample; // Used for samples.
|
| + typedef subtle::Atomic32 Count; // Used to count samples.
|
|
|
| static const Sample kSampleType_MAX; // INT_MAX
|
|
|
|
|