summaryrefslogtreecommitdiffstats
path: root/base/threading/thread_restrictions.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/threading/thread_restrictions.h')
-rw-r--r--base/threading/thread_restrictions.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/base/threading/thread_restrictions.h b/base/threading/thread_restrictions.h
index 98e0422..fc8ab4b 100644
--- a/base/threading/thread_restrictions.h
+++ b/base/threading/thread_restrictions.h
@@ -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 @@ namespace base {
// 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 @@ class BASE_API ThreadRestrictions {
// 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_); }