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

Side by Side Diff: Source/web/ServiceWorkerGlobalScopeProxy.cpp

Issue 795323003: Move Fetch API releted code to modules/fetch. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « Source/web/ServiceWorkerGlobalScopeClientImpl.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 21 matching lines...) Expand all
32 #include "web/ServiceWorkerGlobalScopeProxy.h" 32 #include "web/ServiceWorkerGlobalScopeProxy.h"
33 33
34 #include "bindings/core/v8/WorkerScriptController.h" 34 #include "bindings/core/v8/WorkerScriptController.h"
35 #include "core/dom/CrossThreadTask.h" 35 #include "core/dom/CrossThreadTask.h"
36 #include "core/dom/Document.h" 36 #include "core/dom/Document.h"
37 #include "core/dom/ExecutionContext.h" 37 #include "core/dom/ExecutionContext.h"
38 #include "core/dom/MessagePort.h" 38 #include "core/dom/MessagePort.h"
39 #include "core/events/MessageEvent.h" 39 #include "core/events/MessageEvent.h"
40 #include "core/inspector/ConsoleMessage.h" 40 #include "core/inspector/ConsoleMessage.h"
41 #include "core/workers/WorkerGlobalScope.h" 41 #include "core/workers/WorkerGlobalScope.h"
42 #include "modules/fetch/Headers.h"
42 #include "modules/geofencing/CircularGeofencingRegion.h" 43 #include "modules/geofencing/CircularGeofencingRegion.h"
43 #include "modules/geofencing/GeofencingEvent.h" 44 #include "modules/geofencing/GeofencingEvent.h"
44 #include "modules/notifications/Notification.h" 45 #include "modules/notifications/Notification.h"
45 #include "modules/notifications/NotificationEvent.h" 46 #include "modules/notifications/NotificationEvent.h"
46 #include "modules/push_messaging/PushEvent.h" 47 #include "modules/push_messaging/PushEvent.h"
47 #include "modules/push_messaging/PushMessageData.h" 48 #include "modules/push_messaging/PushMessageData.h"
48 #include "modules/serviceworkers/ExtendableEvent.h" 49 #include "modules/serviceworkers/ExtendableEvent.h"
49 #include "modules/serviceworkers/FetchEvent.h" 50 #include "modules/serviceworkers/FetchEvent.h"
50 #include "modules/serviceworkers/Headers.h"
51 #include "modules/serviceworkers/InstallEvent.h" 51 #include "modules/serviceworkers/InstallEvent.h"
52 #include "modules/serviceworkers/ServiceWorkerGlobalScope.h" 52 #include "modules/serviceworkers/ServiceWorkerGlobalScope.h"
53 #include "modules/serviceworkers/WaitUntilObserver.h" 53 #include "modules/serviceworkers/WaitUntilObserver.h"
54 #include "platform/RuntimeEnabledFeatures.h" 54 #include "platform/RuntimeEnabledFeatures.h"
55 #include "public/platform/WebNotificationData.h" 55 #include "public/platform/WebNotificationData.h"
56 #include "public/platform/WebServiceWorkerEventResult.h" 56 #include "public/platform/WebServiceWorkerEventResult.h"
57 #include "public/platform/WebServiceWorkerRequest.h" 57 #include "public/platform/WebServiceWorkerRequest.h"
58 #include "public/web/WebSerializedScriptValue.h" 58 #include "public/web/WebSerializedScriptValue.h"
59 #include "public/web/WebServiceWorkerContextClient.h" 59 #include "public/web/WebServiceWorkerContextClient.h"
60 #include "web/WebEmbeddedWorkerImpl.h" 60 #include "web/WebEmbeddedWorkerImpl.h"
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 193
194 ServiceWorkerGlobalScopeProxy::ServiceWorkerGlobalScopeProxy(WebEmbeddedWorkerIm pl& embeddedWorker, Document& document, WebServiceWorkerContextClient& client) 194 ServiceWorkerGlobalScopeProxy::ServiceWorkerGlobalScopeProxy(WebEmbeddedWorkerIm pl& embeddedWorker, Document& document, WebServiceWorkerContextClient& client)
195 : m_embeddedWorker(embeddedWorker) 195 : m_embeddedWorker(embeddedWorker)
196 , m_document(document) 196 , m_document(document)
197 , m_client(client) 197 , m_client(client)
198 , m_workerGlobalScope(0) 198 , m_workerGlobalScope(0)
199 { 199 {
200 } 200 }
201 201
202 } // namespace blink 202 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/ServiceWorkerGlobalScopeClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698