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

Side by Side Diff: mojo/services/media/common/interfaces/media_common.mojom

Issue 1741963002: Auto-formatted all .mojom files. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 9 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 [DartPackage="mojo_services"] 5 [DartPackage="mojo_services"]
6 module mojo.media; 6 module mojo.media;
7 7
8 // TODO(johngro): When the new extensible MojoResult has been introduced, 8 // TODO(johngro): When the new extensible MojoResult has been introduced,
9 // redefine all of these results to be MojoResults which exist in the Media 9 // redefine all of these results to be MojoResults which exist in the Media
10 // domain. For now, comments are included about how the results will probably 10 // domain. For now, comments are included about how the results will probably
11 // be bucketed when the time for the transition comes. 11 // be bucketed when the time for the transition comes.
12 // 12 //
13 // see 13 // see
14 // https://docs.google.com/document/d/1A5QL20LzfRDOmsQKyHnA5HK1ZlmrLwAQO9y98GiDN yI/edit 14 // https://docs.google.com/document/d/1A5QL20LzfRDOmsQKyHnA5HK1ZlmrLwAQO9y98GiDN yI/edit
15 // 15 //
16 // no-format
viettrungluu 2016/03/15 23:14:50 "
azani 2016/03/23 22:42:50 Done.
16 enum MediaResult { 17 enum MediaResult {
17 OK = 0, // direct map to MojoResult::OK 18 OK = 0, // direct map to MojoResult::OK
18 UNKNOWN_ERROR = -1, // bucket -> UNKNOWN 19 UNKNOWN_ERROR = -1, // bucket -> UNKNOWN
19 INTERNAL_ERROR = -2, // bucket -> INTERNAL 20 INTERNAL_ERROR = -2, // bucket -> INTERNAL
20 NOT_IMPLEMENTED = -3, // bucket -> UNIMPLEMENTED 21 NOT_IMPLEMENTED = -3, // bucket -> UNIMPLEMENTED
21 UNSUPPORTED_OPERATION = -4, // bucket -> UNIMPLEMENTED, FAILED_PRECON or 22 UNSUPPORTED_OPERATION = -4, // bucket -> UNIMPLEMENTED, FAILED_PRECON or
22 // INVALID_ARG, depending on reason 23 // INVALID_ARG, depending on reason
23 UNSUPPORTED_CONFIG = -5, // bucket -> FAILED_PRECON or INVALID_ARG, or 24 UNSUPPORTED_CONFIG = -5, // bucket -> FAILED_PRECON or INVALID_ARG, or
24 // RESOURCE_EXHAUSTED 25 // RESOURCE_EXHAUSTED
25 INVALID_ARGUMENT = -6, // bucket -> INVALID_ARGUMENT 26 INVALID_ARGUMENT = -6, // bucket -> INVALID_ARGUMENT
26 INSUFFICIENT_RESOURCES = -7, // bucket -> RESOURCE_EXHAUSTED 27 INSUFFICIENT_RESOURCES = -7, // bucket -> RESOURCE_EXHAUSTED
27 BAD_STATE = -8, // bucket -> FAILED_PRECON 28 BAD_STATE = -8, // bucket -> FAILED_PRECON
28 BUF_OVERFLOW = -9, // bucket -> RESOURCE_EXHAUSTED 29 BUF_OVERFLOW = -9, // bucket -> RESOURCE_EXHAUSTED
29 FLUSHED = -10, // bucket -> ABORTED or CANCELLED 30 FLUSHED = -10, // bucket -> ABORTED or CANCELLED
30 BUSY = -11, // bucket -> BUSY 31 BUSY = -11, // bucket -> BUSY
31 PROTOCOL_ERROR = -12, // bucket -> FAILED_PRECON 32 PROTOCOL_ERROR = -12, // bucket -> FAILED_PRECON
32 ALREADY_EXISTS = -13, // bucket -> ALREADY_EXISTS 33 ALREADY_EXISTS = -13, // bucket -> ALREADY_EXISTS
33 NOT_FOUND = -14, // bucket -> NOT_FOUND 34 NOT_FOUND = -14, // bucket -> NOT_FOUND
34 SHUTTING_DOWN = -15, // bucket -> FAILED_PRECON 35 SHUTTING_DOWN = -15, // bucket -> FAILED_PRECON
35 CONNECTION_LOST = -16, // bucket -> INTERNAL? 36 CONNECTION_LOST = -16, // bucket -> INTERNAL?
36 }; 37 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698