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

Unified Diff: native_client_sdk/src/libraries/nacl_io/socket/tcp_event_emitter.cc

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/socket/tcp_event_emitter.cc
diff --git a/native_client_sdk/src/libraries/nacl_io/socket/tcp_event_emitter.cc b/native_client_sdk/src/libraries/nacl_io/socket/tcp_event_emitter.cc
index 13e11348cbc2ea7637f7bfa005af76948670b4ef..ee0faa8249d95f0f35a2e95be4ddfcf08eb61c93 100644
--- a/native_client_sdk/src/libraries/nacl_io/socket/tcp_event_emitter.cc
+++ b/native_client_sdk/src/libraries/nacl_io/socket/tcp_event_emitter.cc
@@ -18,7 +18,8 @@ TcpEventEmitter::TcpEventEmitter(size_t rsize, size_t wsize)
out_fifo_(wsize),
error_(false),
listening_(false),
- accepted_socket_(0) {}
+ accepted_socket_(0) {
+}
uint32_t TcpEventEmitter::ReadIn_Locked(char* data, uint32_t len) {
uint32_t count = in_fifo_.Read(data, len);
@@ -72,7 +73,9 @@ void TcpEventEmitter::ConnectDone_Locked() {
UpdateStatus_Locked();
}
-bool TcpEventEmitter::GetError_Locked() { return error_; }
+bool TcpEventEmitter::GetError_Locked() {
+ return error_;
+}
void TcpEventEmitter::SetError_Locked() {
error_ = true;

Powered by Google App Engine
This is Rietveld 408576698