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

Side by Side Diff: third_party/WebKit/Source/core/mojo/Mojo.idl

Issue 2400563002: Adds Mojo IDL. (Closed)
Patch Set: fixes typo 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
(Empty)
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
3 // found in the LICENSE file.
4
5 typedef unsigned long MojoResult;
6
7 [
8 RuntimeEnabled=MojoJS,
9 ] interface Mojo {
10 const MojoResult RESULT_OK = 0;
11 const MojoResult RESULT_CANCELLED = 1;
12 const MojoResult RESULT_UNKNOWN = 2;
13 const MojoResult RESULT_INVALID_ARGUMENT = 3;
14 const MojoResult RESULT_DEADLINE_EXCEEDED = 4;
15 const MojoResult RESULT_NOT_FOUND = 5;
16 const MojoResult RESULT_ALREADY_EXISTS = 6;
17 const MojoResult RESULT_PERMISSION_DENIED = 7;
18 const MojoResult RESULT_RESOURCE_EXHAUSTED = 8;
19 const MojoResult RESULT_FAILED_PRECONDITION = 9;
20 const MojoResult RESULT_ABORTED = 10;
21 const MojoResult RESULT_OUT_OF_RANGE = 11;
22 const MojoResult RESULT_UNIMPLEMENTED = 12;
23 const MojoResult RESULT_INTERNAL = 13;
24 const MojoResult RESULT_UNAVAILABLE = 14;
25 const MojoResult RESULT_DATA_LOSS = 15;
26 const MojoResult RESULT_BUSY = 16;
27 const MojoResult RESULT_SHOULD_WAIT = 17;
28
29 static MojoCreateMessagePipeResult createMessagePipe();
30 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698