| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 "content/child/throttling_url_loader.h" | 5 #include "content/common/throttling_url_loader.h" |
| 6 | 6 |
| 7 namespace content { | 7 namespace content { |
| 8 | 8 |
| 9 // static | 9 // static |
| 10 std::unique_ptr<ThrottlingURLLoader> ThrottlingURLLoader::CreateLoaderAndStart( | 10 std::unique_ptr<ThrottlingURLLoader> ThrottlingURLLoader::CreateLoaderAndStart( |
| 11 mojom::URLLoaderFactory* factory, | 11 mojom::URLLoaderFactory* factory, |
| 12 std::vector<std::unique_ptr<URLLoaderThrottle>> throttles, | 12 std::vector<std::unique_ptr<URLLoaderThrottle>> throttles, |
| 13 int32_t routing_id, | 13 int32_t routing_id, |
| 14 int32_t request_id, | 14 int32_t request_id, |
| 15 uint32_t options, | 15 uint32_t options, |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 break; | 234 break; |
| 235 } | 235 } |
| 236 default: | 236 default: |
| 237 NOTREACHED(); | 237 NOTREACHED(); |
| 238 break; | 238 break; |
| 239 } | 239 } |
| 240 deferred_stage_ = DEFERRED_NONE; | 240 deferred_stage_ = DEFERRED_NONE; |
| 241 } | 241 } |
| 242 | 242 |
| 243 } // namespace content | 243 } // namespace content |
| OLD | NEW |