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

Unified Diff: base/lock.h

Issue 5091005: FBTF: Remove unneeded headers from base/ (part 9) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 1 month 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
« no previous file with comments | « base/file_util_posix.cc ('k') | base/lock_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/lock.h
===================================================================
--- base/lock.h (revision 66704)
+++ base/lock.h (working copy)
@@ -7,6 +7,9 @@
#pragma once
#include "base/lock_impl.h"
+#if !defined(NDEBUG)
+#include "base/platform_thread.h"
jar (doing other things) 2010/11/19 01:45:14 IMO, using conditional inclusion depending on debu
Lei Zhang 2010/11/19 19:06:16 I can definitely see this causing release vs. debu
+#endif
// 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
« no previous file with comments | « base/file_util_posix.cc ('k') | base/lock_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698