Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Side by Side Diff: base/callback_forward.h

Issue 1507143003: Clean up base::Callback stuff (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/callback.h ('k') | base/callback_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 7
8 namespace base { 8 namespace base {
9 9
10 template <typename Sig> 10 template <typename Sig>
11 class Callback; 11 class Callback;
12 12
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.
13 typedef Callback<void(void)> Closure; 15 typedef Callback<void(void)> Closure;
14 16
15 } // namespace base 17 } // namespace base
16 18
17 #endif // BASE_CALLBACK_FORWARD_H_ 19 #endif // BASE_CALLBACK_FORWARD_H_
OLDNEW
« no previous file with comments | « base/callback.h ('k') | base/callback_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698