diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-05 15:34:00 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-05 15:34:00 +0000 |
commit | 0bea7254836d17e3f1e278cbd52e8b8816c49a48 (patch) | |
tree | eb16c01ad0143fad583cd60a87828fd90c94f61a /base/metrics | |
parent | 93f3edc8adc1db9e3d1deebde0ec58d15b7e1a91 (diff) | |
download | chromium_src-0bea7254836d17e3f1e278cbd52e8b8816c49a48.zip chromium_src-0bea7254836d17e3f1e278cbd52e8b8816c49a48.tar.gz chromium_src-0bea7254836d17e3f1e278cbd52e8b8816c49a48.tar.bz2 |
Rename BASE_API to BASE_EXPORT.
R=rvargas
Review URL: http://codereview.chromium.org/7461141
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95618 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/metrics')
-rw-r--r-- | base/metrics/field_trial.h | 6 | ||||
-rw-r--r-- | base/metrics/histogram.h | 14 | ||||
-rw-r--r-- | base/metrics/stats_counters.h | 8 | ||||
-rw-r--r-- | base/metrics/stats_table.h | 4 |
4 files changed, 16 insertions, 16 deletions
diff --git a/base/metrics/field_trial.h b/base/metrics/field_trial.h index 3b831d8..87b412b 100644 --- a/base/metrics/field_trial.h +++ b/base/metrics/field_trial.h @@ -78,7 +78,7 @@ #include <map> #include <string> -#include "base/base_api.h" +#include "base/base_export.h" #include "base/gtest_prod_util.h" #include "base/memory/ref_counted.h" #include "base/observer_list.h" @@ -89,7 +89,7 @@ namespace base { class FieldTrialList; -class BASE_API FieldTrial : public RefCounted<FieldTrial> { +class BASE_EXPORT FieldTrial : public RefCounted<FieldTrial> { public: typedef int Probability; // Probability type for being selected in a trial. @@ -239,7 +239,7 @@ class BASE_API FieldTrial : public RefCounted<FieldTrial> { // Class with a list of all active field trials. A trial is active if it has // been registered, which includes evaluating its state based on its probaility. // Only one instance of this class exists. -class BASE_API FieldTrialList { +class BASE_EXPORT FieldTrialList { public: // Define a separator charactor to use when creating a persistent form of an // instance. This is intended for use as a command line argument, passed to a diff --git a/base/metrics/histogram.h b/base/metrics/histogram.h index 29004e4..23740f9 100644 --- a/base/metrics/histogram.h +++ b/base/metrics/histogram.h @@ -45,7 +45,7 @@ #include <string> #include <vector> -#include "base/base_api.h" +#include "base/base_export.h" #include "base/gtest_prod_util.h" #include "base/logging.h" #include "base/time.h" @@ -266,7 +266,7 @@ class CustomHistogram; class Histogram; class LinearHistogram; -class BASE_API Histogram { +class BASE_EXPORT Histogram { public: typedef int Sample; // Used for samples (and ranges of samples). typedef int Count; // Used to count samples in a bucket. @@ -325,7 +325,7 @@ class BASE_API Histogram { //---------------------------------------------------------------------------- // Statistic values, developed over the life of the histogram. - class BASE_API SampleSet { + class BASE_EXPORT SampleSet { public: explicit SampleSet(); ~SampleSet(); @@ -584,7 +584,7 @@ class BASE_API Histogram { // LinearHistogram is a more traditional histogram, with evenly spaced // buckets. -class BASE_API LinearHistogram : public Histogram { +class BASE_EXPORT LinearHistogram : public Histogram { public: virtual ~LinearHistogram(); @@ -640,7 +640,7 @@ class BASE_API LinearHistogram : public Histogram { //------------------------------------------------------------------------------ // BooleanHistogram is a histogram for booleans. -class BASE_API BooleanHistogram : public LinearHistogram { +class BASE_EXPORT BooleanHistogram : public LinearHistogram { public: static Histogram* FactoryGet(const std::string& name, Flags flags); @@ -657,7 +657,7 @@ class BASE_API BooleanHistogram : public LinearHistogram { //------------------------------------------------------------------------------ // CustomHistogram is a histogram for a set of custom integers. -class BASE_API CustomHistogram : public Histogram { +class BASE_EXPORT CustomHistogram : public Histogram { public: static Histogram* FactoryGet(const std::string& name, @@ -691,7 +691,7 @@ class BASE_API CustomHistogram : public Histogram { // 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 BASE_API StatisticsRecorder { +class BASE_EXPORT StatisticsRecorder { public: typedef std::vector<Histogram*> Histograms; diff --git a/base/metrics/stats_counters.h b/base/metrics/stats_counters.h index f40dcbe..9ba3517 100644 --- a/base/metrics/stats_counters.h +++ b/base/metrics/stats_counters.h @@ -8,7 +8,7 @@ #include <string> -#include "base/base_api.h" +#include "base/base_export.h" #include "base/metrics/stats_table.h" #include "base/time.h" @@ -75,7 +75,7 @@ namespace base { //------------------------------------------------------------------------------ // StatsCounter represents a counter in the StatsTable class. -class BASE_API StatsCounter { +class BASE_EXPORT StatsCounter { public: // Create a StatsCounter object. explicit StatsCounter(const std::string& name); @@ -129,7 +129,7 @@ class BASE_API StatsCounter { // A StatsCounterTimer is a StatsCounter which keeps a timer during // the scope of the StatsCounterTimer. On destruction, it will record // its time measurement. -class BASE_API StatsCounterTimer : protected StatsCounter { +class BASE_EXPORT StatsCounterTimer : protected StatsCounter { public: // Constructs and starts the timer. explicit StatsCounterTimer(const std::string& name); @@ -158,7 +158,7 @@ class BASE_API StatsCounterTimer : protected StatsCounter { // A StatsRate is a timer that keeps a count of the number of intervals added so // that several statistics can be produced: // min, max, avg, count, total -class BASE_API StatsRate : public StatsCounterTimer { +class BASE_EXPORT StatsRate : public StatsCounterTimer { public: // Constructs and starts the timer. explicit StatsRate(const std::string& name); diff --git a/base/metrics/stats_table.h b/base/metrics/stats_table.h index c8ebae7..6368dd7 100644 --- a/base/metrics/stats_table.h +++ b/base/metrics/stats_table.h @@ -23,7 +23,7 @@ #include <string> -#include "base/base_api.h" +#include "base/base_export.h" #include "base/basictypes.h" #include "base/hash_tables.h" #include "base/synchronization/lock.h" @@ -31,7 +31,7 @@ namespace base { -class BASE_API StatsTable { +class BASE_EXPORT StatsTable { public: // Create a new StatsTable. // If a StatsTable already exists with the specified name, this StatsTable |