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

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

Issue 362343007: Fix a typo in a comment for Closure. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Also fix base/callback.h.pump Created 6 years, 5 months 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
« no previous file with comments | « 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 $$ See comment for MAX_ARITY in base/bind.h.pump. 8 $$ See comment for MAX_ARITY in base/bind.h.pump.
9 $var MAX_ARITY = 7 9 $var MAX_ARITY = 7
10 10
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 typedef R(*PolymorphicInvoke)( 420 typedef R(*PolymorphicInvoke)(
421 internal::BindStateBase*[[]] 421 internal::BindStateBase*[[]]
422 $if ARITY != 0 [[, ]] 422 $if ARITY != 0 [[, ]]
423 $for ARG , [[typename internal::CallbackParamTraits<A$(ARG)>::ForwardType]]); 423 $for ARG , [[typename internal::CallbackParamTraits<A$(ARG)>::ForwardType]]);
424 424
425 }; 425 };
426 426
427 427
428 ]] $$ for ARITY 428 ]] $$ for ARITY
429 429
430 // Syntactic sugar to make Callbacks<void(void)> easier to declare since it 430 // Syntactic sugar to make Callback<void(void)> easier to declare since it
431 // will be used in a lot of APIs with delayed execution. 431 // will be used in a lot of APIs with delayed execution.
432 typedef Callback<void(void)> Closure; 432 typedef Callback<void(void)> Closure;
433 433
434 } // namespace base 434 } // namespace base
435 435
436 #endif // BASE_CALLBACK_H 436 #endif // BASE_CALLBACK_H
OLDNEW
« no previous file with comments | « base/callback.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698