blob: a9a263a50ea77517e6514792843660d6d25435ca [file] [log] [blame]
[email protected]2d715662011-11-28 22:00:291// 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]2d715662011-11-28 22:00:297
8namespace base {
9
10template <typename Sig>
11class Callback;
12
tzik3bc7779b2015-12-19 09:18:4613// Syntactic sugar to make Callback<void()> easier to declare since it
tzikce3ecf82015-12-15 06:41:4914// will be used in a lot of APIs with delayed execution.
tzik3bc7779b2015-12-19 09:18:4615using Closure = Callback<void()>;
[email protected]2d715662011-11-28 22:00:2916
17} // namespace base
18
danakj0a448602015-03-10 00:31:1619#endif // BASE_CALLBACK_FORWARD_H_