Index: base/threading/thread_restrictions.h |
=================================================================== |
--- base/threading/thread_restrictions.h (revision 95578) |
+++ base/threading/thread_restrictions.h (working copy) |
@@ -5,7 +5,7 @@ |
#ifndef BASE_THREADING_THREAD_RESTRICTIONS_H_ |
#define BASE_THREADING_THREAD_RESTRICTIONS_H_ |
-#include "base/base_api.h" |
+#include "base/base_export.h" |
#include "base/basictypes.h" |
namespace base { |
@@ -36,11 +36,11 @@ |
// only calls other functions in Chrome and not fopen(), you should go |
// add the AssertIOAllowed checks in the helper functions. |
-class BASE_API ThreadRestrictions { |
+class BASE_EXPORT ThreadRestrictions { |
public: |
// Constructing a ScopedAllowIO temporarily allows IO for the current |
// thread. Doing this is almost certainly always incorrect. |
- class BASE_API ScopedAllowIO { |
+ class BASE_EXPORT ScopedAllowIO { |
public: |
ScopedAllowIO() { previous_value_ = SetIOAllowed(true); } |
~ScopedAllowIO() { SetIOAllowed(previous_value_); } |
@@ -53,7 +53,7 @@ |
// Constructing a ScopedAllowSingleton temporarily allows accessing for the |
// current thread. Doing this is almost always incorrect. |
- class BASE_API ScopedAllowSingleton { |
+ class BASE_EXPORT ScopedAllowSingleton { |
public: |
ScopedAllowSingleton() { previous_value_ = SetSingletonAllowed(true); } |
~ScopedAllowSingleton() { SetSingletonAllowed(previous_value_); } |