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 #ifndef BASE_BIND_INTERNAL_H_ | 5 #ifndef BASE_BIND_INTERNAL_H_ |
6 #define BASE_BIND_INTERNAL_H_ | 6 #define BASE_BIND_INTERNAL_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <type_traits> | 10 #include <type_traits> |
9 | 11 |
10 #include "base/bind_helpers.h" | 12 #include "base/bind_helpers.h" |
11 #include "base/callback_internal.h" | 13 #include "base/callback_internal.h" |
12 #include "base/memory/raw_scoped_refptr_mismatch_checker.h" | 14 #include "base/memory/raw_scoped_refptr_mismatch_checker.h" |
13 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
14 #include "base/template_util.h" | 16 #include "base/template_util.h" |
15 #include "base/tuple.h" | 17 #include "base/tuple.h" |
16 #include "build/build_config.h" | 18 #include "build/build_config.h" |
17 | 19 |
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 | 416 |
415 static void Destroy(BindStateBase* self) { | 417 static void Destroy(BindStateBase* self) { |
416 delete static_cast<BindState*>(self); | 418 delete static_cast<BindState*>(self); |
417 } | 419 } |
418 }; | 420 }; |
419 | 421 |
420 } // namespace internal | 422 } // namespace internal |
421 } // namespace base | 423 } // namespace base |
422 | 424 |
423 #endif // BASE_BIND_INTERNAL_H_ | 425 #endif // BASE_BIND_INTERNAL_H_ |
OLD | NEW |