OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 import 'dart:mojo_bindings'; | 5 import 'mojo:bindings'; |
6 import 'dart:mojo_core'; | 6 import 'mojo:core'; |
7 | 7 |
8 main() { | 8 main() { |
9 MojoMessagePipe pipe = new MojoMessagePipe(); | 9 MojoMessagePipe pipe = new MojoMessagePipe(); |
10 pipe.endpoints[0].handle.close(); | 10 pipe.endpoints[0].handle.close(); |
11 pipe.endpoints[1].handle.close(); | 11 pipe.endpoints[1].handle.close(); |
12 } | 12 } |
OLD | NEW |