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

Unified Diff: base/memory/ref_counted_memory.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.h ('k') | base/memory/weak_ptr.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/memory/ref_counted_memory.h
===================================================================
--- base/memory/ref_counted_memory.h (revision 95578)
+++ base/memory/ref_counted_memory.h (working copy)
@@ -9,7 +9,7 @@
#include <string>
#include <vector>
-#include "base/base_api.h"
+#include "base/base_export.h"
#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
@@ -19,7 +19,7 @@
// A generic interface to memory. This object is reference counted because one
// of its two subclasses own the data they carry, and we need to have
// heterogeneous containers of these two types of memory.
-class BASE_API RefCountedMemory
+class BASE_EXPORT RefCountedMemory
: public base::RefCountedThreadSafe<RefCountedMemory> {
public:
// Retrieves a pointer to the beginning of the data we point to. If the data
@@ -37,7 +37,7 @@
// An implementation of RefCountedMemory, where the ref counting does not
// matter.
-class BASE_API RefCountedStaticMemory : public RefCountedMemory {
+class BASE_EXPORT RefCountedStaticMemory : public RefCountedMemory {
public:
RefCountedStaticMemory()
: data_(NULL), length_(0) {}
@@ -57,7 +57,7 @@
// An implementation of RefCountedMemory, where we own our the data in a
// vector.
-class BASE_API RefCountedBytes : public RefCountedMemory {
+class BASE_EXPORT RefCountedBytes : public RefCountedMemory {
public:
RefCountedBytes();
@@ -89,7 +89,7 @@
// An implementation of RefCountedMemory, where the bytes are stored in an STL
// string. Use this if your data naturally arrives in that format.
-class BASE_API RefCountedString : public RefCountedMemory {
+class BASE_EXPORT RefCountedString : public RefCountedMemory {
public:
RefCountedString();
« no previous file with comments | « base/memory/ref_counted.h ('k') | base/memory/weak_ptr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698