| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "config.h" | 5 #include "config.h" |
| 6 #include "FetchManager.h" | 6 #include "FetchManager.h" |
| 7 | 7 |
| 8 #include "bindings/v8/ScriptPromiseResolver.h" | 8 #include "bindings/core/v8/ScriptPromiseResolver.h" |
| 9 #include "bindings/v8/ScriptState.h" | 9 #include "bindings/core/v8/ScriptState.h" |
| 10 #include "bindings/v8/V8ThrowException.h" | 10 #include "bindings/core/v8/V8ThrowException.h" |
| 11 #include "core/dom/ExceptionCode.h" | 11 #include "core/dom/ExceptionCode.h" |
| 12 #include "core/fileapi/Blob.h" | 12 #include "core/fileapi/Blob.h" |
| 13 #include "core/loader/ThreadableLoader.h" | 13 #include "core/loader/ThreadableLoader.h" |
| 14 #include "core/loader/ThreadableLoaderClient.h" | 14 #include "core/loader/ThreadableLoaderClient.h" |
| 15 #include "modules/serviceworkers/Response.h" | 15 #include "modules/serviceworkers/Response.h" |
| 16 #include "modules/serviceworkers/ResponseInit.h" | 16 #include "modules/serviceworkers/ResponseInit.h" |
| 17 #include "platform/network/ResourceRequest.h" | 17 #include "platform/network/ResourceRequest.h" |
| 18 #include "wtf/HashSet.h" | 18 #include "wtf/HashSet.h" |
| 19 | 19 |
| 20 namespace WebCore { | 20 namespace WebCore { |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 (*m_loaders.add(loader.release()).storedValue)->start(); | 168 (*m_loaders.add(loader.release()).storedValue)->start(); |
| 169 return promise; | 169 return promise; |
| 170 } | 170 } |
| 171 | 171 |
| 172 void FetchManager::onLoaderFinished(Loader* loader) | 172 void FetchManager::onLoaderFinished(Loader* loader) |
| 173 { | 173 { |
| 174 m_loaders.remove(loader); | 174 m_loaders.remove(loader); |
| 175 } | 175 } |
| 176 | 176 |
| 177 } // namespace WebCore | 177 } // namespace WebCore |
| OLD | NEW |