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

Side by Side Diff: third_party/WebKit/public/web/WebSharedWorkerCreationErrors.h

Issue 2604733002: SharedWorker: Make shared workers keyed by a pair of url and name (Closed)
Patch Set: clean up Created 3 years, 12 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 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 "../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 WebWorkerCreationErrorNone = 0, 14 WebWorkerCreationErrorNone = 0,
15 WebWorkerCreationErrorURLMismatch,
16 WebWorkerCreationErrorSecureContextMismatch, 15 WebWorkerCreationErrorSecureContextMismatch,
17 WebWorkerCreationErrorLast = WebWorkerCreationErrorSecureContextMismatch 16 WebWorkerCreationErrorLast = WebWorkerCreationErrorSecureContextMismatch
18 }; 17 };
19 18
20 } // namespace blink 19 } // namespace blink
21 20
22 #endif // WebSharedWorkerCreationErrors_h 21 #endif // WebSharedWorkerCreationErrors_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698