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/synchronization | |
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/synchronization')
-rw-r--r-- | base/synchronization/cancellation_flag.h | 4 | ||||
-rw-r--r-- | base/synchronization/condition_variable.h | 4 | ||||
-rw-r--r-- | base/synchronization/lock.h | 4 | ||||
-rw-r--r-- | base/synchronization/lock_impl.h | 4 | ||||
-rw-r--r-- | base/synchronization/waitable_event.h | 4 | ||||
-rw-r--r-- | base/synchronization/waitable_event_watcher.h | 4 |
6 files changed, 12 insertions, 12 deletions
diff --git a/base/synchronization/cancellation_flag.h b/base/synchronization/cancellation_flag.h index 5738929..7734b34 100644 --- a/base/synchronization/cancellation_flag.h +++ b/base/synchronization/cancellation_flag.h @@ -6,7 +6,7 @@ #define BASE_SYNCHRONIZATION_CANCELLATION_FLAG_H_ #pragma once -#include "base/base_api.h" +#include "base/base_export.h" #include "base/atomicops.h" #include "base/threading/platform_thread.h" @@ -17,7 +17,7 @@ namespace base { // is thread-safe. // // This class IS NOT intended for synchronization between threads. -class BASE_API CancellationFlag { +class BASE_EXPORT CancellationFlag { public: CancellationFlag() : flag_(false) { #if !defined(NDEBUG) diff --git a/base/synchronization/condition_variable.h b/base/synchronization/condition_variable.h index d70d4cd..1b3b2ff 100644 --- a/base/synchronization/condition_variable.h +++ b/base/synchronization/condition_variable.h @@ -74,7 +74,7 @@ #include <pthread.h> #endif -#include "base/base_api.h" +#include "base/base_export.h" #include "base/basictypes.h" #include "base/synchronization/lock.h" @@ -82,7 +82,7 @@ namespace base { class TimeDelta; -class BASE_API ConditionVariable { +class BASE_EXPORT ConditionVariable { public: // Construct a cv for use with ONLY one user lock. explicit ConditionVariable(Lock* user_lock); diff --git a/base/synchronization/lock.h b/base/synchronization/lock.h index 46d1ab3..f3a685e 100644 --- a/base/synchronization/lock.h +++ b/base/synchronization/lock.h @@ -6,7 +6,7 @@ #define BASE_SYNCHRONIZATION_LOCK_H_ #pragma once -#include "base/base_api.h" +#include "base/base_export.h" #include "base/synchronization/lock_impl.h" #include "base/threading/platform_thread.h" @@ -15,7 +15,7 @@ namespace base { // A convenient wrapper for an OS specific critical section. The only real // intelligence in this class is in debug mode for the support for the // AssertAcquired() method. -class BASE_API Lock { +class BASE_EXPORT Lock { public: #if defined(NDEBUG) // Optimized wrapper implementation Lock() : lock_() {} diff --git a/base/synchronization/lock_impl.h b/base/synchronization/lock_impl.h index 79bc147..63efc5ff 100644 --- a/base/synchronization/lock_impl.h +++ b/base/synchronization/lock_impl.h @@ -14,7 +14,7 @@ #include <pthread.h> #endif -#include "base/base_api.h" +#include "base/base_export.h" #include "base/basictypes.h" namespace base { @@ -23,7 +23,7 @@ namespace internal { // This class implements the underlying platform-specific spin-lock mechanism // used for the Lock class. Most users should not use LockImpl directly, but // should instead use Lock. -class BASE_API LockImpl { +class BASE_EXPORT LockImpl { public: #if defined(OS_WIN) typedef CRITICAL_SECTION OSLockType; diff --git a/base/synchronization/waitable_event.h b/base/synchronization/waitable_event.h index 1ab20fa..62712ed 100644 --- a/base/synchronization/waitable_event.h +++ b/base/synchronization/waitable_event.h @@ -6,7 +6,7 @@ #define BASE_SYNCHRONIZATION_WAITABLE_EVENT_H_ #pragma once -#include "base/base_api.h" +#include "base/base_export.h" #include "base/basictypes.h" #if defined(OS_WIN) @@ -42,7 +42,7 @@ class TimeDelta; // by a Windows event object. This is intentional. If you are writing Windows // specific code and you need other features of a Windows event, then you might // be better off just using an Windows event directly. -class BASE_API WaitableEvent { +class BASE_EXPORT WaitableEvent { public: // If manual_reset is true, then to set the event state to non-signaled, a // consumer must call the Reset method. If this parameter is false, then the diff --git a/base/synchronization/waitable_event_watcher.h b/base/synchronization/waitable_event_watcher.h index 6e1d197..116e274 100644 --- a/base/synchronization/waitable_event_watcher.h +++ b/base/synchronization/waitable_event_watcher.h @@ -15,7 +15,7 @@ #include "base/synchronization/waitable_event.h" #endif -#include "base/base_api.h" +#include "base/base_export.h" namespace base { @@ -60,7 +60,7 @@ class WaitableEvent; // it with a Watcher. It will act as if the event was never signaled. // ----------------------------------------------------------------------------- -class BASE_API WaitableEventWatcher +class BASE_EXPORT WaitableEventWatcher #if defined(OS_POSIX) : public MessageLoop::DestructionObserver #endif |