blob: 03b051b4336eb274d08982d34584b2694fba1efe [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_PROCEDURAL_BLOCK_TYPES_H_
#define IOS_CHROME_BROWSER_PROCEDURAL_BLOCK_TYPES_H_
#import <Foundation/Foundation.h>
class GURL;
// A generic procedural block type that takes a |GURL| and returns nothing.
typedef void (^ProceduralBlockWithURL)(const GURL&);
// A block that takes a bool and returns nothing, as used for UIView animation
// completion.
typedef void (^ProceduralBlockWithBool)(BOOL);
#endif // IOS_CHROME_BROWSER_PROCEDURAL_BLOCK_TYPES_H_