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

Unified Diff: examples/terminal/terminal_file_impl.dart

Issue 1055403002: Add an Ioctl() message to the File interface. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | mojo/services/files/public/interfaces/file.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/terminal/terminal_file_impl.dart
diff --git a/examples/terminal/terminal_file_impl.dart b/examples/terminal/terminal_file_impl.dart
index 041765a8c41cf6fd1ecd245bf6f19a77aeec2f2d..490965f83fb9e70914b6b40fd20427440d64aff1 100644
--- a/examples/terminal/terminal_file_impl.dart
+++ b/examples/terminal/terminal_file_impl.dart
@@ -6,7 +6,8 @@ import 'dart:async';
import 'dart:core';
import 'package:mojo/public/dart/core.dart';
import 'package:mojo/services/files/public/interfaces/file.mojom.dart' as files;
-import 'package:mojo/services/files/public/interfaces/types.mojom.dart' as files;
+import 'package:mojo/services/files/public/interfaces/types.mojom.dart'
+ as files;
import 'terminal_display.dart';
@@ -121,4 +122,11 @@ class TerminalFileImpl implements files.File {
// TODO(vtl)
return responseFactory(files.Error_UNIMPLEMENTED, null);
}
+
+ @override
+ Future ioctl(
+ int request, List<int> in_values, Function responseFactory) async {
+ // TODO(vtl)
+ return responseFactory(files.Error_UNIMPLEMENTED, null);
+ }
}
« no previous file with comments | « no previous file | mojo/services/files/public/interfaces/file.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698