[email protected] | 2d71566 | 2011-11-28 22:00:29 | [diff] [blame] | 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 | ||||
3 | // found in the LICENSE file. | ||||
4 | |||||
5 | #ifndef BASE_CALLBACK_FORWARD_H_ | ||||
6 | #define BASE_CALLBACK_FORWARD_H_ | ||||
[email protected] | 2d71566 | 2011-11-28 22:00:29 | [diff] [blame] | 7 | |
8 | namespace base { | ||||
9 | |||||
10 | template <typename Sig> | ||||
11 | class Callback; | ||||
12 | |||||
tzik | ce3ecf8 | 2015-12-15 06:41:49 | [diff] [blame^] | 13 | // Syntactic sugar to make Callback<void(void)> easier to declare since it |
14 | // will be used in a lot of APIs with delayed execution. | ||||
[email protected] | 2d71566 | 2011-11-28 22:00:29 | [diff] [blame] | 15 | typedef Callback<void(void)> Closure; |
16 | |||||
17 | } // namespace base | ||||
18 | |||||
danakj | 0a44860 | 2015-03-10 00:31:16 | [diff] [blame] | 19 | #endif // BASE_CALLBACK_FORWARD_H_ |