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

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

Issue 3009523002: [dart:io] Remove DART_IO_DISABLED (Closed)
Patch Set: Created 3 years, 3 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_impl_sources.gni ('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_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
11 11
12 #include "bin/builtin.h" 12 #include "bin/builtin.h"
13 #include "bin/utils.h" 13 #include "bin/utils.h"
14 14
15 namespace dart { 15 namespace dart {
16 namespace bin { 16 namespace bin {
17 17
18 // This list must be kept in sync with the list in sdk/lib/io/io_service.dart 18 // This list must be kept in sync with the list in sdk/lib/io/io_service.dart
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 71
72 private: 72 private:
73 DISALLOW_ALLOCATION(); 73 DISALLOW_ALLOCATION();
74 DISALLOW_IMPLICIT_CONSTRUCTORS(IOService); 74 DISALLOW_IMPLICIT_CONSTRUCTORS(IOService);
75 }; 75 };
76 76
77 } // namespace bin 77 } // namespace bin
78 } // namespace dart 78 } // namespace dart
79 79
80 #endif // RUNTIME_BIN_IO_SERVICE_H_ 80 #endif // RUNTIME_BIN_IO_SERVICE_H_
OLDNEW
« no previous file with comments | « runtime/bin/io_impl_sources.gni ('k') | runtime/bin/io_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698