Chromium Code Reviews| Index: third_party/WebKit/public/platform/modules/mediasession/WebMediaSessionError.h |
| diff --git a/third_party/WebKit/public/platform/modules/mediasession/WebMediaSessionError.h b/third_party/WebKit/public/platform/modules/mediasession/WebMediaSessionError.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..af86207fb5813f20fdf39169fed2c5ea868b987d |
| --- /dev/null |
| +++ b/third_party/WebKit/public/platform/modules/mediasession/WebMediaSessionError.h |
| @@ -0,0 +1,26 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef WebMediaSessionError_h |
| +#define WebMediaSessionError_h |
| + |
| +namespace blink { |
| + |
| +struct WebMediaSessionError { |
| + enum ErrorType { |
|
mlamouri (slow - plz ping)
2015/10/07 14:19:31
I think it would be beneficial to move this outsid
davve
2015/10/08 09:17:35
Good point. Seems like I only need the enum really
|
| + ErrorTypeActivate = 0, |
| + ErrorTypeLast = ErrorTypeActivate |
| + }; |
| + |
| + WebMediaSessionError(ErrorType errorType) |
| + : errorType(errorType) |
| + { |
| + } |
| + |
| + ErrorType errorType; |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // WebMediaSessionError_h |