Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2148)

Unified Diff: base/metrics/histogram.h

Issue 6736019: Base: A few more files using BASE_API (for base.dll) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/message_pump_win.h ('k') | base/metrics/stats_counters.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/metrics/histogram.h
===================================================================
--- base/metrics/histogram.h (revision 79303)
+++ base/metrics/histogram.h (working copy)
@@ -36,6 +36,7 @@
#include <string>
#include <vector>
+#include "base/base_api.h"
#include "base/gtest_prod_util.h"
#include "base/ref_counted.h"
#include "base/logging.h"
@@ -236,7 +237,7 @@
class Histogram;
class LinearHistogram;
-class Histogram : public base::RefCountedThreadSafe<Histogram> {
+class BASE_API Histogram : public base::RefCountedThreadSafe<Histogram> {
public:
typedef int Sample; // Used for samples (and ranges of samples).
typedef int Count; // Used to count samples in a bucket.
@@ -295,7 +296,7 @@
//----------------------------------------------------------------------------
// Statistic values, developed over the life of the histogram.
- class SampleSet {
+ class BASE_API SampleSet {
public:
explicit SampleSet();
~SampleSet();
@@ -548,7 +549,7 @@
// LinearHistogram is a more traditional histogram, with evenly spaced
// buckets.
-class LinearHistogram : public Histogram {
+class BASE_API LinearHistogram : public Histogram {
public:
virtual ~LinearHistogram();
@@ -599,7 +600,7 @@
//------------------------------------------------------------------------------
// BooleanHistogram is a histogram for booleans.
-class BooleanHistogram : public LinearHistogram {
+class BASE_API BooleanHistogram : public LinearHistogram {
public:
static scoped_refptr<Histogram> FactoryGet(const std::string& name,
Flags flags);
@@ -617,7 +618,7 @@
//------------------------------------------------------------------------------
// CustomHistogram is a histogram for a set of custom integers.
-class CustomHistogram : public Histogram {
+class BASE_API CustomHistogram : public Histogram {
public:
static scoped_refptr<Histogram> FactoryGet(const std::string& name,
@@ -642,7 +643,7 @@
// general place for histograms to register, and supports a global API for
// accessing (i.e., dumping, or graphing) the data in all the histograms.
-class StatisticsRecorder {
+class BASE_API StatisticsRecorder {
public:
typedef std::vector<scoped_refptr<Histogram> > Histograms;
« no previous file with comments | « base/message_pump_win.h ('k') | base/metrics/stats_counters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698