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

Side by Side Diff: runtime/bin/io_service.h

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 unified diff | Download patch
« no previous file with comments | « runtime/bin/io_natives.cc ('k') | runtime/bin/io_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef RUNTIME_BIN_IO_SERVICE_H_ 5 #ifndef RUNTIME_BIN_IO_SERVICE_H_
6 #define RUNTIME_BIN_IO_SERVICE_H_ 6 #define RUNTIME_BIN_IO_SERVICE_H_
7 7
8 #if defined(DART_IO_DISABLED) || defined(DART_IO_SECURE_SOCKET_DISABLED) 8 #if defined(DART_IO_DISABLED) || defined(DART_IO_SECURE_SOCKET_DISABLED)
9 #error "io_service.h can only be included on builds with IO and SSL enabled" 9 #error "io_service.h can only be included on builds with IO and SSL enabled"
10 #endif 10 #endif
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 V(Directory, Create, 31) \ 51 V(Directory, Create, 31) \
52 V(Directory, Delete, 32) \ 52 V(Directory, Delete, 32) \
53 V(Directory, Exists, 33) \ 53 V(Directory, Exists, 33) \
54 V(Directory, CreateTemp, 34) \ 54 V(Directory, CreateTemp, 34) \
55 V(Directory, ListStart, 35) \ 55 V(Directory, ListStart, 35) \
56 V(Directory, ListNext, 36) \ 56 V(Directory, ListNext, 36) \
57 V(Directory, ListStop, 37) \ 57 V(Directory, ListStop, 37) \
58 V(Directory, Rename, 38) \ 58 V(Directory, Rename, 38) \
59 V(SSLFilter, ProcessFilter, 39) 59 V(SSLFilter, ProcessFilter, 39)
60 60
61 #define DECLARE_REQUEST(type, method, id) \ 61 #define DECLARE_REQUEST(type, method, id) k##type##method##Request = id,
62 k##type##method##Request = id,
63 62
64 class IOService { 63 class IOService {
65 public: 64 public:
66 enum { 65 enum { IO_SERVICE_REQUEST_LIST(DECLARE_REQUEST) };
67 IO_SERVICE_REQUEST_LIST(DECLARE_REQUEST)
68 };
69 66
70 static Dart_Port GetServicePort(); 67 static Dart_Port GetServicePort();
71 68
72 private: 69 private:
73 DISALLOW_ALLOCATION(); 70 DISALLOW_ALLOCATION();
74 DISALLOW_IMPLICIT_CONSTRUCTORS(IOService); 71 DISALLOW_IMPLICIT_CONSTRUCTORS(IOService);
75 }; 72 };
76 73
77 } // namespace bin 74 } // namespace bin
78 } // namespace dart 75 } // namespace dart
79 76
80 #endif // RUNTIME_BIN_IO_SERVICE_H_ 77 #endif // RUNTIME_BIN_IO_SERVICE_H_
OLDNEW
« no previous file with comments | « runtime/bin/io_natives.cc ('k') | runtime/bin/io_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698