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

Unified Diff: runtime/bin/io_service_no_ssl.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_no_ssl.h ('k') | runtime/bin/loader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/io_service_no_ssl.cc
diff --git a/runtime/bin/io_service_no_ssl.cc b/runtime/bin/io_service_no_ssl.cc
index ece9ab80e8e1fb8fe36ff82a2d7bec026b2438fc..189eb0369fe4693a74cecc49e45995efef2d5946 100644
--- a/runtime/bin/io_service_no_ssl.cc
+++ b/runtime/bin/io_service_no_ssl.cc
@@ -26,24 +26,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_no_ssl.h ('k') | runtime/bin/loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698