| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 // on the main thread only before |m_loaderDoneEvent| is signaled and ca
n be read | 187 // on the main thread only before |m_loaderDoneEvent| is signaled and ca
n be read |
| 188 // on the worker context thread only after |m_loaderDoneEvent| is signal
ed. | 188 // on the worker context thread only after |m_loaderDoneEvent| is signal
ed. |
| 189 Vector<OwnPtr<ExecutionContextTask>> m_clientTasks; | 189 Vector<OwnPtr<ExecutionContextTask>> m_clientTasks; |
| 190 Mutex m_lock; | 190 Mutex m_lock; |
| 191 }; | 191 }; |
| 192 | 192 |
| 193 WorkerThreadableLoader(WorkerGlobalScope&, ThreadableLoaderClient*, const Re
sourceRequest&, const ThreadableLoaderOptions&, const ResourceLoaderOptions&, Bl
ockingBehavior); | 193 WorkerThreadableLoader(WorkerGlobalScope&, ThreadableLoaderClient*, const Re
sourceRequest&, const ThreadableLoaderOptions&, const ResourceLoaderOptions&, Bl
ockingBehavior); |
| 194 | 194 |
| 195 void didReceiveResourceTiming(const ResourceTimingInfo&) override; | 195 void didReceiveResourceTiming(const ResourceTimingInfo&) override; |
| 196 | 196 |
| 197 RefPtrWillBePersistent<WorkerGlobalScope> m_workerGlobalScope; | 197 Persistent<WorkerGlobalScope> m_workerGlobalScope; |
| 198 RefPtr<ThreadableLoaderClientWrapper> m_workerClientWrapper; | 198 RefPtr<ThreadableLoaderClientWrapper> m_workerClientWrapper; |
| 199 | 199 |
| 200 MainThreadBridgeBase* m_bridge; | 200 MainThreadBridgeBase* m_bridge; |
| 201 }; | 201 }; |
| 202 | 202 |
| 203 } // namespace blink | 203 } // namespace blink |
| 204 | 204 |
| 205 #endif // WorkerThreadableLoader_h | 205 #endif // WorkerThreadableLoader_h |
| OLD | NEW |