| OLD | NEW |
| 1 // This file was GENERATED by command: | 1 // This file was GENERATED by command: |
| 2 // pump.py bind.h.pump | 2 // pump.py bind.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_H_ | 10 #ifndef BASE_BIND_H_ |
| 11 #define BASE_BIND_H_ | 11 #define BASE_BIND_H_ |
| 12 #pragma once | |
| 13 | 12 |
| 14 #include "base/bind_internal.h" | 13 #include "base/bind_internal.h" |
| 15 #include "base/callback_internal.h" | 14 #include "base/callback_internal.h" |
| 16 | 15 |
| 17 // See base/callback.h for how to use these functions. If reading the | 16 // See base/callback.h for how to use these functions. If reading the |
| 18 // implementation, before proceeding further, you should read the top | 17 // implementation, before proceeding further, you should read the top |
| 19 // comment of base/bind_internal.h for a definition of common terms and | 18 // comment of base/bind_internal.h for a definition of common terms and |
| 20 // concepts. | 19 // concepts. |
| 21 // | 20 // |
| 22 // IMPLEMENTATION NOTE | 21 // IMPLEMENTATION NOTE |
| (...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 498 | 497 |
| 499 | 498 |
| 500 return Callback<typename BindState::UnboundRunType>( | 499 return Callback<typename BindState::UnboundRunType>( |
| 501 new BindState(internal::MakeRunnable(functor), p1, p2, p3, p4, p5, p6, | 500 new BindState(internal::MakeRunnable(functor), p1, p2, p3, p4, p5, p6, |
| 502 p7)); | 501 p7)); |
| 503 } | 502 } |
| 504 | 503 |
| 505 } // namespace base | 504 } // namespace base |
| 506 | 505 |
| 507 #endif // BASE_BIND_H_ | 506 #endif // BASE_BIND_H_ |
| OLD | NEW |