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

Side by Side Diff: base/weak_ptr.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/vlog.cc ('k') | no next file » | 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 #include <stddef.h>
7
8 #include "base/logging.h"
9 #include "base/ref_counted.h"
5 #include "base/weak_ptr.h" 10 #include "base/weak_ptr.h"
6 11
7 namespace base { 12 namespace base {
8 namespace internal { 13 namespace internal {
9 14
10 WeakReference::Flag::Flag(Flag** handle) : handle_(handle) { 15 WeakReference::Flag::Flag(Flag** handle) : handle_(handle) {
11 } 16 }
12 17
13 WeakReference::Flag::~Flag() { 18 WeakReference::Flag::~Flag() {
14 if (handle_) 19 if (handle_)
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 } 67 }
63 68
64 WeakPtrBase::~WeakPtrBase() { 69 WeakPtrBase::~WeakPtrBase() {
65 } 70 }
66 71
67 WeakPtrBase::WeakPtrBase(const WeakReference& ref) : ref_(ref) { 72 WeakPtrBase::WeakPtrBase(const WeakReference& ref) : ref_(ref) {
68 } 73 }
69 74
70 } // namespace internal 75 } // namespace internal
71 } // namespace base 76 } // namespace base
OLDNEW
« no previous file with comments | « base/vlog.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698