| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 // IDL for mojo core module. This is not a specced IDL. | 5 // IDL for mojo core module. This is not a specced IDL. |
| 6 | 6 |
| 7 typedef unsigned long MojoResult; | 7 typedef unsigned long MojoResult; |
| 8 | 8 |
| 9 [ | 9 [ |
| 10 RuntimeEnabled=MojoJS, | 10 RuntimeEnabled=MojoJS, |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 const MojoResult RESULT_ABORTED = 10; | 22 const MojoResult RESULT_ABORTED = 10; |
| 23 const MojoResult RESULT_OUT_OF_RANGE = 11; | 23 const MojoResult RESULT_OUT_OF_RANGE = 11; |
| 24 const MojoResult RESULT_UNIMPLEMENTED = 12; | 24 const MojoResult RESULT_UNIMPLEMENTED = 12; |
| 25 const MojoResult RESULT_INTERNAL = 13; | 25 const MojoResult RESULT_INTERNAL = 13; |
| 26 const MojoResult RESULT_UNAVAILABLE = 14; | 26 const MojoResult RESULT_UNAVAILABLE = 14; |
| 27 const MojoResult RESULT_DATA_LOSS = 15; | 27 const MojoResult RESULT_DATA_LOSS = 15; |
| 28 const MojoResult RESULT_BUSY = 16; | 28 const MojoResult RESULT_BUSY = 16; |
| 29 const MojoResult RESULT_SHOULD_WAIT = 17; | 29 const MojoResult RESULT_SHOULD_WAIT = 17; |
| 30 | 30 |
| 31 static MojoCreateMessagePipeResult createMessagePipe(); | 31 static MojoCreateMessagePipeResult createMessagePipe(); |
| 32 static MojoCreateSharedBufferResult createSharedBuffer(unsigned long numByte
s); |
| 32 }; | 33 }; |
| OLD | NEW |