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

Unified Diff: base/task.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/system_monitor/system_monitor.h ('k') | base/task_queue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/task.h
===================================================================
--- base/task.h (revision 95578)
+++ base/task.h (working copy)
@@ -6,7 +6,7 @@
#define BASE_TASK_H_
#pragma once
-#include "base/base_api.h"
+#include "base/base_export.h"
#include "base/debug/alias.h"
#include "base/memory/raw_scoped_refptr_mismatch_checker.h"
#include "base/memory/weak_ptr.h"
@@ -22,7 +22,7 @@
// A task is a generic runnable thingy, usually used for running code on a
// different thread or for scheduling future tasks off of the message loop.
-class BASE_API Task : public tracked_objects::Tracked {
+class BASE_EXPORT Task : public tracked_objects::Tracked {
public:
Task();
virtual ~Task();
@@ -31,7 +31,7 @@
virtual void Run() = 0;
};
-class BASE_API CancelableTask : public Task {
+class BASE_EXPORT CancelableTask : public Task {
public:
CancelableTask();
virtual ~CancelableTask();
@@ -550,7 +550,7 @@
// ScopedTaskRunner is akin to scoped_ptr for Tasks. It ensures that the Task
// is executed and deleted no matter how the current scope exits.
-class BASE_API ScopedTaskRunner {
+class BASE_EXPORT ScopedTaskRunner {
public:
// Takes ownership of the task.
explicit ScopedTaskRunner(Task* task);
« no previous file with comments | « base/system_monitor/system_monitor.h ('k') | base/task_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698