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

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

Issue 2400563002: Adds Mojo IDL. (Closed)
Patch Set: addressed comments Created 3 years, 11 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 2016 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 typedef unsigned long MojoCreateMessagePipeOptionsFlags;
7
8 interface Mojo {
9 const MojoResult RESULT_OK = 0;
10 const MojoResult RESULT_CANCELLED = 1;
11 const MojoResult RESULT_UNKNOWN = 2;
12 const MojoResult RESULT_INVALID_ARGUMENT = 3;
13 const MojoResult RESULT_DEADLINE_EXCEEDED = 4;
14 const MojoResult RESULT_NOT_FOUND = 5;
15 const MojoResult RESULT_ALREADY_EXISTS = 6;
16 const MojoResult RESULT_PERMISSION_DENIED = 7;
17 const MojoResult RESULT_RESOURCE_EXHAUSTED = 8;
18 const MojoResult RESULT_FAILED_PRECONDITION = 9;
19 const MojoResult RESULT_ABORTED = 10;
20 const MojoResult RESULT_OUT_OF_RANGE = 11;
21 const MojoResult RESULT_UNIMPLEMENTED = 12;
22 const MojoResult RESULT_INTERNAL = 13;
23 const MojoResult RESULT_UNAVAILABLE = 14;
24 const MojoResult RESULT_DATA_LOSS = 15;
25 const MojoResult RESULT_BUSY = 16;
26 const MojoResult RESULT_SHOULD_WAIT = 17;
27
28 const MojoCreateMessagePipeOptionsFlags CREATE_MESSAGE_PIPE_OPTIONS_FLAG_NON E = 0;
29
30 MojoCreateMessagePipeResult createMessagePipe(MojoCreateMessagePipeOptions o ptions);
31 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698