OLD | NEW |
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 found | 2 // Use of this source code is governed by a BSD-style license that can be found |
3 // in the LICENSE file. | 3 // in the LICENSE file. |
4 | 4 |
5 #ifndef WebSharedWorkerCreationErrors_h | 5 #ifndef WebSharedWorkerCreationErrors_h |
6 #define WebSharedWorkerCreationErrors_h | 6 #define WebSharedWorkerCreationErrors_h |
7 | 7 |
8 #include "../platform/WebCommon.h" | 8 #include "public/platform/WebCommon.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
11 | 11 |
12 // Describes errors that can occur while creating a SharedWorker. | 12 // Describes errors that can occur while creating a SharedWorker. |
13 enum WebWorkerCreationError { | 13 enum WebWorkerCreationError { |
14 kWebWorkerCreationErrorNone = 0, | 14 kWebWorkerCreationErrorNone = 0, |
15 kWebWorkerCreationErrorSecureContextMismatch, | 15 kWebWorkerCreationErrorSecureContextMismatch, |
16 kWebWorkerCreationErrorLast = kWebWorkerCreationErrorSecureContextMismatch | 16 kWebWorkerCreationErrorLast = kWebWorkerCreationErrorSecureContextMismatch |
17 }; | 17 }; |
18 | 18 |
19 } // namespace blink | 19 } // namespace blink |
20 | 20 |
21 #endif // WebSharedWorkerCreationErrors_h | 21 #endif // WebSharedWorkerCreationErrors_h |
OLD | NEW |