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

Side by Side Diff: base/mac/bind_objc_block.h

Issue 10818034: Adding the possibility to build a closure from an ObjectiveC block. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Adding whitespace. Created 8 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
OLDNEW
(Empty)
1 // Copyright (c) 2012 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.
4
5 #ifndef BASE_MAC_BIND_OBJC_BLOCK_H_
6 #define BASE_MAC_BIND_OBJC_BLOCK_H_
7
8 #include "base/callback_forward.h"
9
10 namespace base {
11
12 // Construct a closure from an objective-C block.
13 base::Closure BindBlock(void(^block)());
14
15 } // namespace base
16
17 #endif // BASE_MAC_BIND_OBJC_BLOCK_H_
OLDNEW
« no previous file with comments | « base/base.gypi ('k') | base/mac/bind_objc_block.mm » ('j') | base/mac/bind_objc_block.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698