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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/event_emitter.h

Issue 242533005: [NaCl SDK] nacl_io: Add flow control the JavaScript pipes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
OLDNEW
1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 #ifndef LIBRARIES_NACL_IO_EVENT_EMITTER_H_ 5 #ifndef LIBRARIES_NACL_IO_EVENT_EMITTER_H_
6 #define LIBRARIES_NACL_IO_EVENT_EMITTER_H_ 6 #define LIBRARIES_NACL_IO_EVENT_EMITTER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 private: 66 private:
67 uint32_t event_status_; 67 uint32_t event_status_;
68 sdk_util::SimpleLock emitter_lock_; 68 sdk_util::SimpleLock emitter_lock_;
69 EventListenerMap_t listeners_; 69 EventListenerMap_t listeners_;
70 DISALLOW_COPY_AND_ASSIGN(EventEmitter); 70 DISALLOW_COPY_AND_ASSIGN(EventEmitter);
71 }; 71 };
72 72
73 } // namespace nacl_io 73 } // namespace nacl_io
74 74
75 75
76 #endif // LIBRARIES_NACL_IO_EVENT_EMITTER_H_ 76 #endif // LIBRARIES_NACL_IO_EVENT_EMITTER_H_
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/devfs/tty_node.cc ('k') | native_client_sdk/src/libraries/nacl_io/fifo_char.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698