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

Unified Diff: base/synchronization/lock_impl.h

Issue 6904109: linux: components support for base/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 8 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
Index: base/synchronization/lock_impl.h
diff --git a/base/synchronization/lock_impl.h b/base/synchronization/lock_impl.h
index 29946100ba0d35353ad925ca3cd2deda3fb7c28e..9bb50de38d834847cc028ed38c2ae6c6f5338600 100644
--- a/base/synchronization/lock_impl.h
+++ b/base/synchronization/lock_impl.h
@@ -6,6 +6,8 @@
#define BASE_SYNCHRONIZATION_LOCK_IMPL_H_
#pragma once
+#include "base/base_api.h"
+#include "base/basictypes.h"
rvargas (doing something else) 2011/04/28 23:29:43 I think we still want these to go after the os dep
Evan Martin 2011/04/28 23:39:40 There was some thread on chromium-dev where we dec
rvargas (doing something else) 2011/04/28 23:45:31 Yes, that same thread mentioned this exception (al
#include "build/build_config.h"
#if defined(OS_WIN)
@@ -14,15 +16,13 @@
#include <pthread.h>
#endif
-#include "base/basictypes.h"
-
namespace base {
namespace internal {
// This class implements the underlying platform-specific spin-lock mechanism
// used for the Lock class. Most users should not use LockImpl directly, but
// should instead use Lock.
-class LockImpl {
+class BASE_API LockImpl {
rvargas (doing something else) 2011/04/28 23:29:43 Why do we need to export this? It should not be us
Evan Martin 2011/04/28 23:39:40 Lock::~Lock() is inlined, and it calls LockImpl::~
public:
#if defined(OS_WIN)
typedef CRITICAL_SECTION OSLockType;
« base/string16.h ('K') | « base/string16.h ('k') | base/threading/worker_pool_posix.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698