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

Unified Diff: native_client_sdk/src/libraries/nacl_io/devfs/jspipe_event_emitter.h

Issue 303223007: [NaCl SDK] nacl_io: Run clang-format over nacl_io sources. (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 side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/libraries/nacl_io/devfs/jspipe_event_emitter.h
diff --git a/native_client_sdk/src/libraries/nacl_io/devfs/jspipe_event_emitter.h b/native_client_sdk/src/libraries/nacl_io/devfs/jspipe_event_emitter.h
index 39356990bd4313b4a5bebbd2178bbf58e6dac9af..7dc7398c2480204a87f427fdf02bfd67de0225a8 100644
--- a/native_client_sdk/src/libraries/nacl_io/devfs/jspipe_event_emitter.h
+++ b/native_client_sdk/src/libraries/nacl_io/devfs/jspipe_event_emitter.h
@@ -38,8 +38,12 @@ class JSPipeEventEmitter : public EventEmitter {
Error Read_Locked(char* data, size_t len, int* out_bytes);
Error Write_Locked(const char* data, size_t len, int* out_bytes);
- size_t GetOSpace() { return post_message_buffer_size_ - BytesOutstanding(); };
- size_t GetISpace() { return input_fifo_.WriteAvailable(); };
+ size_t GetOSpace() {
+ return post_message_buffer_size_ - BytesOutstanding();
+ };
+ size_t GetISpace() {
+ return input_fifo_.WriteAvailable();
+ };
Error SetName(const char* name);
Error HandleJSMessage(PP_Var message);

Powered by Google App Engine
This is Rietveld 408576698