| 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 {
|
| + ErrorTypeActivate = 0,
|
| + ErrorTypeLast = ErrorTypeActivate
|
| + };
|
| +
|
| + WebMediaSessionError(ErrorType errorType)
|
| + : errorType(errorType)
|
| + {
|
| + }
|
| +
|
| + ErrorType errorType;
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // WebMediaSessionError_h
|
|
|