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

Unified Diff: base/synchronization/lock.h

Issue 6725001: Base: First pass at having base.dll: definition of (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 9 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.h
===================================================================
--- base/synchronization/lock.h (revision 78949)
+++ base/synchronization/lock.h (working copy)
@@ -6,6 +6,7 @@
#define BASE_SYNCHRONIZATION_LOCK_H_
#pragma once
+#include "base/base_api.h"
#include "base/synchronization/lock_impl.h"
#include "base/threading/platform_thread.h"
@@ -14,7 +15,7 @@
// A convenient wrapper for an OS specific critical section. The only real
// intelligence in this class is in debug mode for the support for the
// AssertAcquired() method.
-class Lock {
+class BASE_API Lock {
wtc 2011/03/23 22:05:12 Can you summarize the rules for determining which
rvargas (doing something else) 2011/03/23 22:59:04 The basic rule is that anything that is not direct
public:
#if defined(NDEBUG) // Optimized wrapper implementation
Lock() : lock_() {}

Powered by Google App Engine
This is Rietveld 408576698