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

Unified Diff: runtime/bin/io_service.cc

Issue 2480793002: clang-format runtime/bin (Closed)
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/io_service.h ('k') | runtime/bin/io_service_no_ssl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/io_service.cc
diff --git a/runtime/bin/io_service.cc b/runtime/bin/io_service.cc
index 491fa29114f85672b6415767c868a7c67d03ad03..2a685f1d6ad233abc7a97a3f49e442a4908a5481 100644
--- a/runtime/bin/io_service.cc
+++ b/runtime/bin/io_service.cc
@@ -27,24 +27,20 @@ namespace bin {
response = type::method##Request(data); \
break;
-void IOServiceCallback(Dart_Port dest_port_id,
- Dart_CObject* message) {
+void IOServiceCallback(Dart_Port dest_port_id, Dart_CObject* message) {
Dart_Port reply_port_id = ILLEGAL_PORT;
CObject* response = CObject::IllegalArgumentError();
CObjectArray request(message);
- if ((message->type == Dart_CObject_kArray) &&
- (request.Length() == 4) &&
- request[0]->IsInt32() &&
- request[1]->IsSendPort() &&
- request[2]->IsInt32() &&
- request[3]->IsArray()) {
+ if ((message->type == Dart_CObject_kArray) && (request.Length() == 4) &&
+ request[0]->IsInt32() && request[1]->IsSendPort() &&
+ request[2]->IsInt32() && request[3]->IsArray()) {
CObjectInt32 message_id(request[0]);
CObjectSendPort reply_port(request[1]);
CObjectInt32 request_id(request[2]);
CObjectArray data(request[3]);
reply_port_id = reply_port.Value();
switch (request_id.Value()) {
- IO_SERVICE_REQUEST_LIST(CASE_REQUEST);
+ IO_SERVICE_REQUEST_LIST(CASE_REQUEST);
default:
UNREACHABLE();
}
« no previous file with comments | « runtime/bin/io_service.h ('k') | runtime/bin/io_service_no_ssl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698