OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "base/callback_internal.h" | 5 #include "base/callback_internal.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 | 8 |
9 namespace base { | 9 namespace base { |
10 namespace internal { | 10 namespace internal { |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 CallbackBase::CallbackBase(BindStateBase* bind_state) | 26 CallbackBase::CallbackBase(BindStateBase* bind_state) |
27 : bind_state_(bind_state), | 27 : bind_state_(bind_state), |
28 polymorphic_invoke_(NULL) { | 28 polymorphic_invoke_(NULL) { |
29 DCHECK(!bind_state_ || bind_state_->HasOneRef()); | 29 DCHECK(!bind_state_ || bind_state_->HasOneRef()); |
30 } | 30 } |
31 | 31 |
32 CallbackBase::~CallbackBase() { | 32 CallbackBase::~CallbackBase() { |
33 } | 33 } |
34 | 34 |
| 35 } // namespace internal |
35 } // namespace base | 36 } // namespace base |
36 } // namespace internal | |
OLD | NEW |