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

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

Issue 1262603004: Move ServiceWorker public headers to public/{web,platform}/modules/serviceworker (3/3) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/ServiceWorkerGlobalScopeProxy.cpp ('k') | Source/web/WebEmbeddedWorkerImplTest.cpp » ('j') | 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 #include "core/workers/WorkerLoaderProxy.h" 45 #include "core/workers/WorkerLoaderProxy.h"
46 #include "core/workers/WorkerScriptLoader.h" 46 #include "core/workers/WorkerScriptLoader.h"
47 #include "core/workers/WorkerThreadStartupData.h" 47 #include "core/workers/WorkerThreadStartupData.h"
48 #include "modules/serviceworkers/ServiceWorkerContainerClient.h" 48 #include "modules/serviceworkers/ServiceWorkerContainerClient.h"
49 #include "modules/serviceworkers/ServiceWorkerThread.h" 49 #include "modules/serviceworkers/ServiceWorkerThread.h"
50 #include "platform/SharedBuffer.h" 50 #include "platform/SharedBuffer.h"
51 #include "platform/heap/Handle.h" 51 #include "platform/heap/Handle.h"
52 #include "platform/network/ContentSecurityPolicyParsers.h" 52 #include "platform/network/ContentSecurityPolicyParsers.h"
53 #include "platform/network/ContentSecurityPolicyResponseHeaders.h" 53 #include "platform/network/ContentSecurityPolicyResponseHeaders.h"
54 #include "public/platform/Platform.h" 54 #include "public/platform/Platform.h"
55 #include "public/platform/WebServiceWorkerProvider.h"
56 #include "public/platform/WebURLRequest.h" 55 #include "public/platform/WebURLRequest.h"
56 #include "public/platform/modules/serviceworker/WebServiceWorkerProvider.h"
57 #include "public/web/WebDevToolsAgent.h" 57 #include "public/web/WebDevToolsAgent.h"
58 #include "public/web/WebServiceWorkerContextClient.h"
59 #include "public/web/WebServiceWorkerNetworkProvider.h"
60 #include "public/web/WebSettings.h" 58 #include "public/web/WebSettings.h"
61 #include "public/web/WebView.h" 59 #include "public/web/WebView.h"
62 #include "public/web/WebWorkerContentSettingsClientProxy.h" 60 #include "public/web/WebWorkerContentSettingsClientProxy.h"
61 #include "public/web/modules/serviceworker/WebServiceWorkerContextClient.h"
62 #include "public/web/modules/serviceworker/WebServiceWorkerNetworkProvider.h"
63 #include "web/ServiceWorkerGlobalScopeClientImpl.h" 63 #include "web/ServiceWorkerGlobalScopeClientImpl.h"
64 #include "web/ServiceWorkerGlobalScopeProxy.h" 64 #include "web/ServiceWorkerGlobalScopeProxy.h"
65 #include "web/WebDataSourceImpl.h" 65 #include "web/WebDataSourceImpl.h"
66 #include "web/WebLocalFrameImpl.h" 66 #include "web/WebLocalFrameImpl.h"
67 #include "web/WorkerContentSettingsClient.h" 67 #include "web/WorkerContentSettingsClient.h"
68 #include "wtf/Functional.h" 68 #include "wtf/Functional.h"
69 69
70 namespace blink { 70 namespace blink {
71 71
72 WebEmbeddedWorker* WebEmbeddedWorker::create(WebServiceWorkerContextClient* clie nt, WebWorkerContentSettingsClientProxy* contentSettingsClient) 72 WebEmbeddedWorker* WebEmbeddedWorker::create(WebServiceWorkerContextClient* clie nt, WebWorkerContentSettingsClientProxy* contentSettingsClient)
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 m_mainScriptLoader.clear(); 345 m_mainScriptLoader.clear();
346 346
347 m_workerGlobalScopeProxy = ServiceWorkerGlobalScopeProxy::create(*this, *doc ument, *m_workerContextClient); 347 m_workerGlobalScopeProxy = ServiceWorkerGlobalScopeProxy::create(*this, *doc ument, *m_workerContextClient);
348 m_loaderProxy = WorkerLoaderProxy::create(this); 348 m_loaderProxy = WorkerLoaderProxy::create(this);
349 m_workerThread = ServiceWorkerThread::create(m_loaderProxy, *m_workerGlobalS copeProxy); 349 m_workerThread = ServiceWorkerThread::create(m_loaderProxy, *m_workerGlobalS copeProxy);
350 m_workerThread->start(startupData.release()); 350 m_workerThread->start(startupData.release());
351 m_workerInspectorProxy->workerThreadCreated(document, m_workerThread.get(), scriptURL); 351 m_workerInspectorProxy->workerThreadCreated(document, m_workerThread.get(), scriptURL);
352 } 352 }
353 353
354 } // namespace blink 354 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/ServiceWorkerGlobalScopeProxy.cpp ('k') | Source/web/WebEmbeddedWorkerImplTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698