| OLD | NEW |
| 1 // This file was GENERATED by command: | 1 // This file was GENERATED by command: |
| 2 // pump.py callback.h.pump | 2 // pump.py callback.h.pump |
| 3 // DO NOT EDIT BY HAND!!! | 3 // DO NOT EDIT BY HAND!!! |
| 4 | 4 |
| 5 | 5 |
| 6 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 6 // Copyright (c) 2012 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_CALLBACK_H_ | 10 #ifndef BASE_CALLBACK_H_ |
| 11 #define BASE_CALLBACK_H_ | 11 #define BASE_CALLBACK_H_ |
| 12 #pragma once | |
| 13 | 12 |
| 14 #include "base/callback_forward.h" | 13 #include "base/callback_forward.h" |
| 15 #include "base/callback_internal.h" | 14 #include "base/callback_internal.h" |
| 16 #include "base/template_util.h" | 15 #include "base/template_util.h" |
| 17 | 16 |
| 18 // NOTE: Header files that do not require the full definition of Callback or | 17 // NOTE: Header files that do not require the full definition of Callback or |
| 19 // Closure should #include "base/callback_forward.h" instead of this file. | 18 // Closure should #include "base/callback_forward.h" instead of this file. |
| 20 | 19 |
| 21 // WHAT IS THIS: | 20 // WHAT IS THIS: |
| 22 // | 21 // |
| (...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 625 }; | 624 }; |
| 626 | 625 |
| 627 | 626 |
| 628 // Syntactic sugar to make Callbacks<void(void)> easier to declare since it | 627 // Syntactic sugar to make Callbacks<void(void)> easier to declare since it |
| 629 // will be used in a lot of APIs with delayed execution. | 628 // will be used in a lot of APIs with delayed execution. |
| 630 typedef Callback<void(void)> Closure; | 629 typedef Callback<void(void)> Closure; |
| 631 | 630 |
| 632 } // namespace base | 631 } // namespace base |
| 633 | 632 |
| 634 #endif // BASE_CALLBACK_H | 633 #endif // BASE_CALLBACK_H |
| OLD | NEW |