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

Unified Diff: base/memory/weak_ptr.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/memory/ref_counted_memory.h ('k') | base/message_loop.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/memory/weak_ptr.h
===================================================================
--- base/memory/weak_ptr.h (revision 95578)
+++ base/memory/weak_ptr.h (working copy)
@@ -52,7 +52,7 @@
#define BASE_MEMORY_WEAK_PTR_H_
#pragma once
-#include "base/base_api.h"
+#include "base/base_export.h"
#include "base/logging.h"
#include "base/memory/ref_counted.h"
#include "base/threading/thread_checker.h"
@@ -63,7 +63,7 @@
// These classes are part of the WeakPtr implementation.
// DO NOT USE THESE CLASSES DIRECTLY YOURSELF.
-class BASE_API WeakReference {
+class BASE_EXPORT WeakReference {
public:
// While Flag is bound to a specific thread, it may be deleted from another
// via base::WeakPtr::~WeakPtr().
@@ -95,7 +95,7 @@
scoped_refptr<Flag> flag_;
};
-class BASE_API WeakReferenceOwner {
+class BASE_EXPORT WeakReferenceOwner {
public:
WeakReferenceOwner();
~WeakReferenceOwner();
@@ -121,7 +121,7 @@
// constructor by avoiding the need for a public accessor for ref_. A
// WeakPtr<T> cannot access the private members of WeakPtr<U>, so this
// base class gives us a way to access ref_ in a protected fashion.
-class BASE_API WeakPtrBase {
+class BASE_EXPORT WeakPtrBase {
public:
WeakPtrBase();
~WeakPtrBase();
« no previous file with comments | « base/memory/ref_counted_memory.h ('k') | base/message_loop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698