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 "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
9 #include "base/callback_internal.h" | 9 #include "base/callback_internal.h" |
10 #include "base/memory/raw_scoped_refptr_mismatch_checker.h" | 10 #include "base/memory/raw_scoped_refptr_mismatch_checker.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "base/template_util.h" | 12 #include "base/template_util.h" |
13 #include "base/tuple.h" | 13 #include "base/tuple.h" |
14 #include "build/build_config.h" | 14 #include "build/build_config.h" |
15 | 15 |
16 #if defined(OS_WIN) | |
17 #include "base/bind_internal_win.h" | |
18 #endif | |
19 | |
20 namespace base { | 16 namespace base { |
21 namespace internal { | 17 namespace internal { |
22 | 18 |
23 // See base/callback.h for user documentation. | 19 // See base/callback.h for user documentation. |
24 // | 20 // |
25 // | 21 // |
26 // CONCEPTS: | 22 // CONCEPTS: |
27 // Runnable -- A type (really a type class) that has a single Run() method | 23 // Runnable -- A type (really a type class) that has a single Run() method |
28 // and a RunType typedef that corresponds to the type of Run(). | 24 // and a RunType typedef that corresponds to the type of Run(). |
29 // A Runnable can declare that it should treated like a method | 25 // A Runnable can declare that it should treated like a method |
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 | 409 |
414 static void Destroy(BindStateBase* self) { | 410 static void Destroy(BindStateBase* self) { |
415 delete static_cast<BindState*>(self); | 411 delete static_cast<BindState*>(self); |
416 } | 412 } |
417 }; | 413 }; |
418 | 414 |
419 } // namespace internal | 415 } // namespace internal |
420 } // namespace base | 416 } // namespace base |
421 | 417 |
422 #endif // BASE_BIND_INTERNAL_H_ | 418 #endif // BASE_BIND_INTERNAL_H_ |
OLD | NEW |