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

Side by Side Diff: base/ref_counted.cc

Issue 6410105: run iwyu on base! Base URL: svn://svn.chromium.org/chrome/trunk/src/base
Patch Set: Created 9 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/rand_util_posix.cc ('k') | base/ref_counted_memory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stdbool.h>
6
7 #include "base/atomic_ref_count.h"
8 #include "base/logging.h"
5 #include "base/ref_counted.h" 9 #include "base/ref_counted.h"
6 10
7 #include "base/logging.h"
8 #include "base/threading/thread_collision_warner.h"
9
10 namespace base { 11 namespace base {
11 12
12 namespace subtle { 13 namespace subtle {
13 14
14 RefCountedBase::RefCountedBase() 15 RefCountedBase::RefCountedBase()
15 : ref_count_(0) 16 : ref_count_(0)
16 #ifndef NDEBUG 17 #ifndef NDEBUG
17 , in_dtor_(false) 18 , in_dtor_(false)
18 #endif 19 #endif
19 { 20 {
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 in_dtor_ = true; 87 in_dtor_ = true;
87 #endif 88 #endif
88 return true; 89 return true;
89 } 90 }
90 return false; 91 return false;
91 } 92 }
92 93
93 } // namespace subtle 94 } // namespace subtle
94 95
95 } // namespace base 96 } // namespace base
OLDNEW
« no previous file with comments | « base/rand_util_posix.cc ('k') | base/ref_counted_memory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698