| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/browser/loader/url_loader_factory_impl.h" | 5 #include "content/browser/loader/url_loader_factory_impl.h" |
| 6 | 6 |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <utility> | 11 #include <utility> |
| 12 | 12 |
| 13 #include "base/bind.h" | 13 #include "base/bind.h" |
| 14 #include "base/callback.h" | 14 #include "base/callback.h" |
| 15 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
| 16 #include "base/files/file_util.h" | 16 #include "base/files/file_util.h" |
| 17 #include "base/location.h" | 17 #include "base/location.h" |
| 18 #include "base/memory/ptr_util.h" | 18 #include "base/memory/ptr_util.h" |
| 19 #include "base/memory/weak_ptr.h" | 19 #include "base/memory/weak_ptr.h" |
| 20 #include "base/message_loop/message_loop.h" | 20 #include "base/message_loop/message_loop.h" |
| 21 #include "base/path_service.h" | 21 #include "base/path_service.h" |
| 22 #include "base/run_loop.h" | 22 #include "base/run_loop.h" |
| 23 #include "base/threading/sequenced_worker_pool.h" |
| 23 #include "content/browser/child_process_security_policy_impl.h" | 24 #include "content/browser/child_process_security_policy_impl.h" |
| 24 #include "content/browser/loader/mojo_async_resource_handler.h" | 25 #include "content/browser/loader/mojo_async_resource_handler.h" |
| 25 #include "content/browser/loader/navigation_resource_throttle.h" | 26 #include "content/browser/loader/navigation_resource_throttle.h" |
| 26 #include "content/browser/loader/resource_dispatcher_host_impl.h" | 27 #include "content/browser/loader/resource_dispatcher_host_impl.h" |
| 27 #include "content/browser/loader/resource_message_filter.h" | 28 #include "content/browser/loader/resource_message_filter.h" |
| 28 #include "content/browser/loader/resource_request_info_impl.h" | 29 #include "content/browser/loader/resource_request_info_impl.h" |
| 29 #include "content/browser/loader/test_url_loader_client.h" | 30 #include "content/browser/loader/test_url_loader_client.h" |
| 30 #include "content/browser/loader_delegate_impl.h" | 31 #include "content/browser/loader_delegate_impl.h" |
| 31 #include "content/common/resource_request.h" | 32 #include "content/common/resource_request.h" |
| 32 #include "content/common/resource_request_completion_status.h" | 33 #include "content/common/resource_request_completion_status.h" |
| (...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 557 ASSERT_FALSE(rdh_.GetURLRequest(GlobalRequestID(kChildId, kRequestId))); | 558 ASSERT_FALSE(rdh_.GetURLRequest(GlobalRequestID(kChildId, kRequestId))); |
| 558 } | 559 } |
| 559 | 560 |
| 560 INSTANTIATE_TEST_CASE_P(URLLoaderFactoryImplTest, | 561 INSTANTIATE_TEST_CASE_P(URLLoaderFactoryImplTest, |
| 561 URLLoaderFactoryImplTest, | 562 URLLoaderFactoryImplTest, |
| 562 ::testing::Values(128, 32 * 1024)); | 563 ::testing::Values(128, 32 * 1024)); |
| 563 | 564 |
| 564 } // namespace | 565 } // namespace |
| 565 | 566 |
| 566 } // namespace content | 567 } // namespace content |
| OLD | NEW |