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

Side by Side Diff: runtime/bin/file_unsupported.cc

Issue 2698813002: [dart:io][windows] Make unicode characters display correctly. (Closed)
Patch Set: Make tests pass Created 3 years, 10 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
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 #if defined(DART_IO_DISABLED) 5 #if defined(DART_IO_DISABLED)
6 6
7 #include "bin/builtin.h" 7 #include "bin/builtin.h"
8 #include "bin/dartutils.h" 8 #include "bin/dartutils.h"
9 #include "include/dart_api.h" 9 #include "include/dart_api.h"
10 10
11 namespace dart { 11 namespace dart {
12 namespace bin { 12 namespace bin {
13 13
14 14
15 void FUNCTION_NAME(File_GetPointer)(Dart_NativeArguments args) { 15 void FUNCTION_NAME(File_GetPointer)(Dart_NativeArguments args) {
16 Dart_ThrowException( 16 Dart_ThrowException(
17 DartUtils::NewInternalError("File is not supported on this platform")); 17 DartUtils::NewInternalError("File is not supported on this platform"));
18 } 18 }
19 19
20 20
21 void FUNCTION_NAME(File_SetPointer)(Dart_NativeArguments args) { 21 void FUNCTION_NAME(File_SetPointer)(Dart_NativeArguments args) {
22 Dart_ThrowException( 22 Dart_ThrowException(
23 DartUtils::NewInternalError("File is not supported on this platform")); 23 DartUtils::NewInternalError("File is not supported on this platform"));
24 } 24 }
25 25
26 26
27 void FUNCTION_NAME(File_SetTranslation)(Dart_NativeArguments args) {
28 Dart_ThrowException(
29 DartUtils::NewInternalError("File is not supported on this platform"));
30 }
31
32
27 void FUNCTION_NAME(File_Open)(Dart_NativeArguments args) { 33 void FUNCTION_NAME(File_Open)(Dart_NativeArguments args) {
28 Dart_ThrowException( 34 Dart_ThrowException(
29 DartUtils::NewInternalError("File is not supported on this platform")); 35 DartUtils::NewInternalError("File is not supported on this platform"));
30 } 36 }
31 37
32 38
33 void FUNCTION_NAME(File_Exists)(Dart_NativeArguments args) { 39 void FUNCTION_NAME(File_Exists)(Dart_NativeArguments args) {
34 Dart_ThrowException( 40 Dart_ThrowException(
35 DartUtils::NewInternalError("File is not supported on this platform")); 41 DartUtils::NewInternalError("File is not supported on this platform"));
36 } 42 }
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 224
219 void FUNCTION_NAME(File_AreIdentical)(Dart_NativeArguments args) { 225 void FUNCTION_NAME(File_AreIdentical)(Dart_NativeArguments args) {
220 Dart_ThrowException( 226 Dart_ThrowException(
221 DartUtils::NewInternalError("File is not supported on this platform")); 227 DartUtils::NewInternalError("File is not supported on this platform"));
222 } 228 }
223 229
224 } // namespace bin 230 } // namespace bin
225 } // namespace dart 231 } // namespace dart
226 232
227 #endif // !defined(DART_IO_DISABLED) 233 #endif // !defined(DART_IO_DISABLED)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698