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

Side by Side Diff: base/callback.h.pump

Issue 8728010: Increase Bind/Callback Arity from 6 -> 7. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated comments. Created 9 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 | Annotate | Revision Log
« base/bind_internal.h ('K') | « base/callback.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 $$ This is a pump file for generating file templates. Pump is a python 1 $$ This is a pump file for generating file templates. Pump is a python
2 $$ script that is part of the Google Test suite of utilities. Description 2 $$ script that is part of the Google Test suite of utilities. Description
3 $$ can be found here: 3 $$ can be found here:
4 $$ 4 $$
5 $$ http://code.google.com/p/googletest/wiki/PumpManual 5 $$ http://code.google.com/p/googletest/wiki/PumpManual
6 $$ 6 $$
7 7
8 $var MAX_ARITY = 6 8 $$ See comment for MAX_ARITY in base/bind.h.pump.
9 $var MAX_ARITY = 7
9 10
10 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 11 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
11 // Use of this source code is governed by a BSD-style license that can be 12 // Use of this source code is governed by a BSD-style license that can be
12 // found in the LICENSE file. 13 // found in the LICENSE file.
13 14
14 #ifndef BASE_CALLBACK_H_ 15 #ifndef BASE_CALLBACK_H_
15 #define BASE_CALLBACK_H_ 16 #define BASE_CALLBACK_H_
16 #pragma once 17 #pragma once
17 18
18 #include "base/callback_internal.h" 19 #include "base/callback_internal.h"
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 298
298 ]] $$ for ARITY 299 ]] $$ for ARITY
299 300
300 // Syntactic sugar to make Callbacks<void(void)> easier to declare since it 301 // Syntactic sugar to make Callbacks<void(void)> easier to declare since it
301 // will be used in a lot of APIs with delayed execution. 302 // will be used in a lot of APIs with delayed execution.
302 typedef Callback<void(void)> Closure; 303 typedef Callback<void(void)> Closure;
303 304
304 } // namespace base 305 } // namespace base
305 306
306 #endif // BASE_CALLBACK_H 307 #endif // BASE_CALLBACK_H
OLDNEW
« base/bind_internal.h ('K') | « base/callback.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698