Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1062)

Unified Diff: base/threading/thread_collision_warner.h

Issue 7461141: Rename BASE_API to BASE_EXPORT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/threading/thread_checker_impl.h ('k') | base/threading/thread_local.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/threading/thread_collision_warner.h
===================================================================
--- base/threading/thread_collision_warner.h (revision 95578)
+++ base/threading/thread_collision_warner.h (working copy)
@@ -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 @@
// 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 @@
// 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 @@
// 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 @@
// 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) {
« no previous file with comments | « base/threading/thread_checker_impl.h ('k') | base/threading/thread_local.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698