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

Unified Diff: base/ref_counted.h

Issue 6258: This CL is due the thread I have made on chromium-dev:... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 2 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
« no previous file with comments | « base/condition_variable_unittest.cc ('k') | base/ref_counted.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/ref_counted.h
===================================================================
--- base/ref_counted.h (revision 3911)
+++ base/ref_counted.h (working copy)
@@ -7,6 +7,7 @@
#include "base/atomic_ref_count.h"
#include "base/basictypes.h"
+#include "base/thread_collision_warner.h"
namespace base {
@@ -28,6 +29,8 @@
bool in_dtor_;
#endif
+ D_DEFINE_CRITICAL_SECTION(add_release_);
+
DISALLOW_COPY_AND_ASSIGN(RefCountedBase);
};
« no previous file with comments | « base/condition_variable_unittest.cc ('k') | base/ref_counted.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698