| 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_CALLBACK_FORWARD_H_ | 5 #ifndef BASE_CALLBACK_FORWARD_H_ |
| 6 #define BASE_CALLBACK_FORWARD_H_ | 6 #define BASE_CALLBACK_FORWARD_H_ |
| 7 #pragma once | |
| 8 | 7 |
| 9 namespace base { | 8 namespace base { |
| 10 | 9 |
| 11 template <typename Sig> | 10 template <typename Sig> |
| 12 class Callback; | 11 class Callback; |
| 13 | 12 |
| 14 typedef Callback<void(void)> Closure; | 13 typedef Callback<void(void)> Closure; |
| 15 | 14 |
| 16 } // namespace base | 15 } // namespace base |
| 17 | 16 |
| 18 #endif // BASE_CALLBACK_FORWARD_H | 17 #endif // BASE_CALLBACK_FORWARD_H |
| OLD | NEW |