summaryrefslogtreecommitdiffstats
path: root/base/threading/simple_thread.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/threading/simple_thread.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/threading/simple_thread.h')
-rw-r--r--base/threading/simple_thread.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/base/threading/simple_thread.h b/base/threading/simple_thread.h
index 1631336..f1b644b 100644
--- a/base/threading/simple_thread.h
+++ b/base/threading/simple_thread.h
@@ -45,6 +45,7 @@
#include <queue>
#include <vector>
+#include "base/base_api.h"
#include "base/basictypes.h"
#include "base/threading/platform_thread.h"
#include "base/synchronization/lock.h"
@@ -54,9 +55,9 @@ namespace base {
// This is the base SimpleThread. You can derive from it and implement the
// virtual Run method, or you can use the DelegateSimpleThread interface.
-class SimpleThread : public PlatformThread::Delegate {
+class BASE_API SimpleThread : public PlatformThread::Delegate {
public:
- class Options {
+ class BASE_API Options {
public:
Options() : stack_size_(0) { }
~Options() { }
@@ -113,9 +114,9 @@ class SimpleThread : public PlatformThread::Delegate {
bool joined_; // True if Join has been called.
};
-class DelegateSimpleThread : public SimpleThread {
+class BASE_API DelegateSimpleThread : public SimpleThread {
public:
- class Delegate {
+ class BASE_API Delegate {
public:
Delegate() { }
virtual ~Delegate() { }
@@ -143,7 +144,8 @@ class DelegateSimpleThread : public SimpleThread {
// JoinAll() will make sure that all outstanding work is processed, and wait
// for everything to finish. You can reuse a pool, so you can call Start()
// again after you've called JoinAll().
-class DelegateSimpleThreadPool : public DelegateSimpleThread::Delegate {
+class BASE_API DelegateSimpleThreadPool
+ : public DelegateSimpleThread::Delegate {
public:
typedef DelegateSimpleThread::Delegate Delegate;