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

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

Issue 1800863002: Cleanup in //runtime/bin (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « runtime/bin/io_service.cc ('k') | runtime/bin/io_service_no_ssl.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 BIN_IO_SERVICE_NO_SSL_H_ 5 #ifndef BIN_IO_SERVICE_NO_SSL_H_
6 #define BIN_IO_SERVICE_NO_SSL_H_ 6 #define BIN_IO_SERVICE_NO_SSL_H_
7 7
8 #include "bin/builtin.h" 8 #include "bin/builtin.h"
9 #include "bin/utils.h" 9 #include "bin/utils.h"
10 10
11
12 namespace dart { 11 namespace dart {
13 namespace bin { 12 namespace bin {
14 13
15 // This list must be kept in sync with the list in sdk/lib/io/io_service.dart 14 // This list must be kept in sync with the list in sdk/lib/io/io_service.dart
16 // In this modified version, though, the request 39 for SSLFilter::ProcessFilter 15 // In this modified version, though, the request 39 for SSLFilter::ProcessFilter
17 // is removed, for use in contexts in which secure sockets are not enabled. 16 // is removed, for use in contexts in which secure sockets are not enabled.
18 #define IO_SERVICE_REQUEST_LIST(V) \ 17 #define IO_SERVICE_REQUEST_LIST(V) \
19 V(File, Exists, 0) \ 18 V(File, Exists, 0) \
20 V(File, Create, 1) \ 19 V(File, Create, 1) \
21 V(File, Delete, 2) \ 20 V(File, Delete, 2) \
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 #define DECLARE_REQUEST(type, method, id) \ 58 #define DECLARE_REQUEST(type, method, id) \
60 k##type##method##Request = id, 59 k##type##method##Request = id,
61 60
62 class IOService { 61 class IOService {
63 public: 62 public:
64 enum { 63 enum {
65 IO_SERVICE_REQUEST_LIST(DECLARE_REQUEST) 64 IO_SERVICE_REQUEST_LIST(DECLARE_REQUEST)
66 }; 65 };
67 66
68 static Dart_Port GetServicePort(); 67 static Dart_Port GetServicePort();
68
69 private:
70 DISALLOW_ALLOCATION();
71 DISALLOW_IMPLICIT_CONSTRUCTORS(IOService);
69 }; 72 };
70 73
71 } // namespace bin 74 } // namespace bin
72 } // namespace dart 75 } // namespace dart
73 76
74 #endif // BIN_IO_SERVICE_NO_SSL_H_ 77 #endif // BIN_IO_SERVICE_NO_SSL_H_
OLDNEW
« no previous file with comments | « runtime/bin/io_service.cc ('k') | runtime/bin/io_service_no_ssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698