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/threading/thread_collision_warner.h | |
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/threading/thread_collision_warner.h')
-rw-r--r-- | base/threading/thread_collision_warner.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/base/threading/thread_collision_warner.h b/base/threading/thread_collision_warner.h index b26568d..4460602 100644 --- a/base/threading/thread_collision_warner.h +++ b/base/threading/thread_collision_warner.h @@ -8,7 +8,7 @@ #include <memory> -#include "base/base_api.h" +#include "base/base_export.h" #include "base/atomicops.h" // A helper class alongside macros to be used to verify assumptions about thread @@ -131,17 +131,17 @@ namespace base { // AsserterBase is the interfaces and DCheckAsserter is the default asserter // used. During the unit tests is used another class that doesn't "DCHECK" // in case of collision (check thread_collision_warner_unittests.cc) -struct BASE_API AsserterBase { +struct BASE_EXPORT AsserterBase { virtual ~AsserterBase() {} virtual void warn() = 0; }; -struct BASE_API DCheckAsserter : public AsserterBase { +struct BASE_EXPORT DCheckAsserter : public AsserterBase { virtual ~DCheckAsserter() {} virtual void warn(); }; -class BASE_API ThreadCollisionWarner { +class BASE_EXPORT ThreadCollisionWarner { public: // The parameter asserter is there only for test purpose ThreadCollisionWarner(AsserterBase* asserter = new DCheckAsserter()) @@ -158,7 +158,7 @@ class BASE_API ThreadCollisionWarner { // it doesn't leave the critical section, as opposed to ScopedCheck, // because the critical section being pinned is allowed to be used only // from one thread - class BASE_API Check { + class BASE_EXPORT Check { public: explicit Check(ThreadCollisionWarner* warner) : warner_(warner) { @@ -175,7 +175,7 @@ class BASE_API ThreadCollisionWarner { // This class is meant to be used through the macro // DFAKE_SCOPED_LOCK - class BASE_API ScopedCheck { + class BASE_EXPORT ScopedCheck { public: explicit ScopedCheck(ThreadCollisionWarner* warner) : warner_(warner) { @@ -194,7 +194,7 @@ class BASE_API ThreadCollisionWarner { // This class is meant to be used through the macro // DFAKE_SCOPED_RECURSIVE_LOCK - class BASE_API ScopedRecursiveCheck { + class BASE_EXPORT ScopedRecursiveCheck { public: explicit ScopedRecursiveCheck(ThreadCollisionWarner* warner) : warner_(warner) { |