Chromium Code Reviews| Index: third_party/WebKit/Source/core/workers/WorkerGlobalScope.h |
| diff --git a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h |
| index 4abdcf3a14a0d988b58bf24be9f7ca31f141c76a..a361f2c3f3f9dd299563dcc574b82bc079208c4b 100644 |
| --- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h |
| +++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h |
| @@ -51,6 +51,7 @@ class ConsoleMessage; |
| class ExceptionState; |
| class V8AbstractEventListener; |
| class WorkerClients; |
| +class WorkerFetchContext; |
| class WorkerLocation; |
| class WorkerNavigator; |
| class WorkerThread; |
| @@ -153,6 +154,9 @@ class CORE_EXPORT WorkerGlobalScope |
| WorkerClients* Clients() const { return worker_clients_.Get(); } |
| + // Availavle only when off-main-thread-fetch is enabled. |
|
nhiroki
2017/04/18 07:56:41
s/Availavle/Available/
horo
2017/04/18 12:53:34
Done.
|
| + WorkerFetchContext* FetchContext(); |
| + |
| DECLARE_VIRTUAL_TRACE(); |
| protected: |
| @@ -208,6 +212,8 @@ class CORE_EXPORT WorkerGlobalScope |
| HeapHashMap<int, Member<ErrorEvent>> pending_error_events_; |
| int last_pending_error_event_id_; |
| + |
| + Member<WorkerFetchContext> fetch_context_; |
| }; |
| DEFINE_TYPE_CASTS(WorkerGlobalScope, |