| 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 'package:mojo/public/dart/bindings.dart' as bindings; | 5 import 'package:mojo/bindings.dart' as bindings; |
| 6 import 'package:mojo/public/dart/core.dart' as core; | 6 import 'package:mojo/core.dart' as core; |
| 7 | 7 |
| 8 main() { | 8 main() { |
| 9 core.MojoMessagePipe pipe = new core.MojoMessagePipe(); | 9 core.MojoMessagePipe pipe = new core.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 |