1 // Copyright 2011 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef BASE_FUNCTIONAL_CALLBACK_FORWARD_H_
6 #define BASE_FUNCTIONAL_CALLBACK_FORWARD_H_
10 template <typename Signature>
13 template <typename Signature>
14 class RepeatingCallback;
16 // Syntactic sugar to make OnceClosure<void()> and RepeatingClosure<void()>
17 // easier to declare since they will be used in a lot of APIs with delayed
19 using OnceClosure = OnceCallback<void()>;
20 using RepeatingClosure = RepeatingCallback<void()>;
24 #endif // BASE_FUNCTIONAL_CALLBACK_FORWARD_H_