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

Side by Side Diff: base/worker_pool_mac.h

Issue 338012: About box auto-update improvements (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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/base.gyp ('k') | base/worker_pool_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2009 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_WORKER_POOL_MAC_H_
6 #define BASE_WORKER_POOL_MAC_H_
7
8 #include "base/worker_pool.h"
9
10 #import <Foundation/Foundation.h>
11
12 // WorkerPoolObjC provides an Objective-C interface to the same WorkerPool
13 // used by the rest of the application.
14 @interface WorkerPoolObjC : NSObject
15
16 // Returns the underlying NSOperationQueue back end that WorkerPool::PostTask
17 // would post tasks to. This can be used to add NSOperation subclasses
18 // directly to the same NSOperationQueue, by calling -[NSOperationQueue
19 // addOperation:]. Most Objective-C code wishing to dispatch tasks to the
20 // WorkerPool will find it handy to add an operation of type
21 // NSInvocationOperation.
22 + (NSOperationQueue*)sharedOperationQueue;
23
24 @end // @interface WorkerPoolObjC
25
26 #endif // BASE_WORKER_POOL_MAC_H_
OLDNEW
« no previous file with comments | « base/base.gyp ('k') | base/worker_pool_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698