WebSchedulerImpl::postTimerTask to post non-nestable tasks
[chromium-blink-merge.git] / base / ios / block_types.h
blobe4dde798aa4f0a0805bee6762321c94abb9c186a
1 // Copyright 2013 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.
5 #ifndef BASE_IOS_BLOCK_TYPES_H_
6 #define BASE_IOS_BLOCK_TYPES_H_
8 // A generic procedural block type that takes no arguments and returns nothing.
9 typedef void (^ProceduralBlock)(void);
11 // A block that takes no arguments and returns a bool.
12 typedef bool (^ConditionBlock)(void);
14 #endif // BASE_IOS_BLOCK_TYPES_H_