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

Side by Side Diff: Source/core/loader/WorkerLoaderClientBridge.cpp

Issue 847803002: Make ScriptStreamer and dependents Oilpan friendly. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add ScriptSourceCode::isNull() comment Created 5 years, 11 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 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 17 matching lines...) Expand all
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #include "config.h" 31 #include "config.h"
32 #include "core/loader/WorkerLoaderClientBridge.h" 32 #include "core/loader/WorkerLoaderClientBridge.h"
33 33
34 #include "core/dom/CrossThreadTask.h" 34 #include "core/dom/CrossThreadTask.h"
35 #include "core/loader/ThreadableLoaderClientWrapper.h" 35 #include "core/loader/ThreadableLoaderClientWrapper.h"
36 #include "core/workers/WorkerGlobalScope.h" 36 #include "core/workers/WorkerGlobalScope.h"
37 #include "core/workers/WorkerLoaderProxy.h" 37 #include "core/workers/WorkerLoaderProxy.h"
38 #include "platform/network/ResourceError.h"
39 #include "platform/network/ResourceResponse.h"
38 #include "wtf/PassOwnPtr.h" 40 #include "wtf/PassOwnPtr.h"
39 #include "wtf/PassRefPtr.h" 41 #include "wtf/PassRefPtr.h"
40 #include <limits> 42 #include <limits>
41 43
42 namespace blink { 44 namespace blink {
43 45
44 PassOwnPtr<ThreadableLoaderClient> WorkerLoaderClientBridge::create(PassRefPtr<T hreadableLoaderClientWrapper> client, WorkerLoaderProxy& loaderProxy) 46 PassOwnPtr<ThreadableLoaderClient> WorkerLoaderClientBridge::create(PassRefPtr<T hreadableLoaderClientWrapper> client, WorkerLoaderProxy& loaderProxy)
45 { 47 {
46 return adoptPtr(new WorkerLoaderClientBridge(client, loaderProxy)); 48 return adoptPtr(new WorkerLoaderClientBridge(client, loaderProxy));
47 } 49 }
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 m_loaderProxy.postTaskToWorkerGlobalScope(createCrossThreadTask(&workerGloba lScopeDidFailRedirectCheck, m_workerClientWrapper)); 157 m_loaderProxy.postTaskToWorkerGlobalScope(createCrossThreadTask(&workerGloba lScopeDidFailRedirectCheck, m_workerClientWrapper));
156 } 158 }
157 159
158 WorkerLoaderClientBridge::WorkerLoaderClientBridge(PassRefPtr<ThreadableLoaderCl ientWrapper> clientWrapper, WorkerLoaderProxy& loaderProxy) 160 WorkerLoaderClientBridge::WorkerLoaderClientBridge(PassRefPtr<ThreadableLoaderCl ientWrapper> clientWrapper, WorkerLoaderProxy& loaderProxy)
159 : m_workerClientWrapper(clientWrapper) 161 : m_workerClientWrapper(clientWrapper)
160 , m_loaderProxy(loaderProxy) 162 , m_loaderProxy(loaderProxy)
161 { 163 {
162 } 164 }
163 165
164 } // namespace blink 166 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/inspector/WorkerInspectorController.cpp ('k') | Source/core/loader/WorkerLoaderClientBridgeSyncHelper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698