summaryrefslogtreecommitdiffstats
path: root/base/task.h
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-24 19:00:20 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-24 19:00:20 +0000
commitf5661ca939b76182990a5f2e75e0282cc4022546 (patch)
tree065709f6ae7b3e5c93db6043a43ef92d1059bb2b /base/task.h
parent669a674860fa52bb5ed97e056b3ecd60ea246e74 (diff)
downloadchromium_src-f5661ca939b76182990a5f2e75e0282cc4022546.zip
chromium_src-f5661ca939b76182990a5f2e75e0282cc4022546.tar.gz
chromium_src-f5661ca939b76182990a5f2e75e0282cc4022546.tar.bz2
Base: A few more files using BASE_API (for base.dll)
BUG=76996 TEST=none Review URL: http://codereview.chromium.org/6729002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79303 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/task.h')
-rw-r--r--base/task.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/base/task.h b/base/task.h
index 2deee56..7fd5b52 100644
--- a/base/task.h
+++ b/base/task.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -6,6 +6,7 @@
#define BASE_TASK_H_
#pragma once
+#include "base/base_api.h"
#include "base/raw_scoped_refptr_mismatch_checker.h"
#include "base/tracked.h"
#include "base/tuple.h"
@@ -16,7 +17,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 Task : public tracked_objects::Tracked {
+class BASE_API Task : public tracked_objects::Tracked {
public:
Task();
virtual ~Task();
@@ -25,7 +26,7 @@ class Task : public tracked_objects::Tracked {
virtual void Run() = 0;
};
-class CancelableTask : public Task {
+class BASE_API CancelableTask : public Task {
public:
CancelableTask();
virtual ~CancelableTask();