summaryrefslogtreecommitdiffstats
path: root/base/threading
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-25 18:46:38 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-25 18:46:38 +0000
commit90509cbdde392aa218771f6673b9b5a6600c2b57 (patch)
treec40048ae5b465f460070d629b2948fc98b2655bb /base/threading
parent0e3522e5b079136229758ba0e02fa3d36718c5cd (diff)
downloadchromium_src-90509cbdde392aa218771f6673b9b5a6600c2b57.zip
chromium_src-90509cbdde392aa218771f6673b9b5a6600c2b57.tar.gz
chromium_src-90509cbdde392aa218771f6673b9b5a6600c2b57.tar.bz2
Base: A few more files using BASE_API (for base.dll)
BUG=76996 TEST=none Review URL: http://codereview.chromium.org/6733031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79426 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/threading')
-rw-r--r--base/threading/non_thread_safe.h4
-rw-r--r--base/threading/non_thread_safe_impl.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/base/threading/non_thread_safe.h b/base/threading/non_thread_safe.h
index bc3be3c..83a2178 100644
--- a/base/threading/non_thread_safe.h
+++ b/base/threading/non_thread_safe.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 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.
@@ -45,7 +45,7 @@ class NonThreadSafeDoNothing {
// In Release mode, CalledOnValidThread will always return true.
//
#ifndef NDEBUG
-class NonThreadSafe : public NonThreadSafeImpl {
+class BASE_API NonThreadSafe : public NonThreadSafeImpl {
};
#else
class NonThreadSafe : public NonThreadSafeDoNothing {
diff --git a/base/threading/non_thread_safe_impl.h b/base/threading/non_thread_safe_impl.h
index 12925f1..ab0999a 100644
--- a/base/threading/non_thread_safe_impl.h
+++ b/base/threading/non_thread_safe_impl.h
@@ -6,6 +6,7 @@
#define BASE_THREADING_NON_THREAD_SAFE_IMPL_H_
#pragma once
+#include "base/base_api.h"
#include "base/threading/thread_checker_impl.h"
namespace base {
@@ -16,7 +17,7 @@ namespace base {
//
// Note: You should almost always use the NonThreadSafe class to get
// the right version of the class for your build configuration.
-class NonThreadSafeImpl {
+class BASE_API NonThreadSafeImpl {
public:
~NonThreadSafeImpl();