OLD | NEW |
1 // This file was GENERATED by command: | 1 // This file was GENERATED by command: |
2 // pump.py bind_internal.h.pump | 2 // pump.py bind_internal.h.pump |
3 // DO NOT EDIT BY HAND!!! | 3 // DO NOT EDIT BY HAND!!! |
4 | 4 |
5 | 5 |
6 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 6 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
7 // Use of this source code is governed by a BSD-style license that can be | 7 // Use of this source code is governed by a BSD-style license that can be |
8 // found in the LICENSE file. | 8 // found in the LICENSE file. |
9 | 9 |
10 #ifndef BASE_BIND_INTERNAL_H_ | 10 #ifndef BASE_BIND_INTERNAL_H_ |
11 #define BASE_BIND_INTERNAL_H_ | 11 #define BASE_BIND_INTERNAL_H_ |
12 #pragma once | 12 #pragma once |
13 | 13 |
14 #include "base/bind_helpers.h" | 14 #include "base/bind_helpers.h" |
15 #include "base/callback_internal.h" | 15 #include "base/callback_internal.h" |
16 #include "base/memory/raw_scoped_refptr_mismatch_checker.h" | 16 #include "base/memory/raw_scoped_refptr_mismatch_checker.h" |
17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
18 #include "base/template_util.h" | 18 #include "base/template_util.h" |
19 #include "build/build_config.h" | 19 #include "build/build_config.h" |
20 | 20 |
21 #if defined(OS_WIN) | 21 #if defined(OS_WIN) |
22 #include "base/bind_internal_win.h" | 22 #include "base/bind_internal_win.h" |
23 #endif | 23 #endif |
24 | 24 |
25 namespace base { | 25 namespace base { |
26 namespace internal { | 26 namespace internal { |
27 | 27 |
| 28 // See base/callback.h for user documentation. |
| 29 // |
| 30 // |
28 // CONCEPTS: | 31 // CONCEPTS: |
29 // Runnable -- A type (really a type class) that has a single Run() method | 32 // Runnable -- A type (really a type class) that has a single Run() method |
30 // and a RunType typedef that corresponds to the type of Run(). | 33 // and a RunType typedef that corresponds to the type of Run(). |
31 // A Runnable can declare that it should treated like a method | 34 // A Runnable can declare that it should treated like a method |
32 // call by including a typedef named IsMethod. The value of | 35 // call by including a typedef named IsMethod. The value of |
33 // this typedef is NOT inspected, only the existence. When a | 36 // this typedef is NOT inspected, only the existence. When a |
34 // Runnable declares itself a method, Bind() will enforce special | 37 // Runnable declares itself a method, Bind() will enforce special |
35 // refcounting + WeakPtr handling semantics for the first | 38 // refcounting + WeakPtr handling semantics for the first |
36 // parameter which is expected to be an object. | 39 // parameter which is expected to be an object. |
37 // Functor -- A copyable type representing something that should be called. | 40 // Functor -- A copyable type representing something that should be called. |
(...skipping 2743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2781 P4 p4_; | 2784 P4 p4_; |
2782 P5 p5_; | 2785 P5 p5_; |
2783 P6 p6_; | 2786 P6 p6_; |
2784 P7 p7_; | 2787 P7 p7_; |
2785 }; | 2788 }; |
2786 | 2789 |
2787 } // namespace internal | 2790 } // namespace internal |
2788 } // namespace base | 2791 } // namespace base |
2789 | 2792 |
2790 #endif // BASE_BIND_INTERNAL_H_ | 2793 #endif // BASE_BIND_INTERNAL_H_ |
OLD | NEW |