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> |
(...skipping 10 matching lines...) Expand all Loading... |
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 "content/browser/child_process_security_policy_impl.h" | 23 #include "content/browser/child_process_security_policy_impl.h" |
24 #include "content/browser/loader/mojo_async_resource_handler.h" | 24 #include "content/browser/loader/mojo_async_resource_handler.h" |
25 #include "content/browser/loader/navigation_resource_throttle.h" | 25 #include "content/browser/loader/navigation_resource_throttle.h" |
26 #include "content/browser/loader/resource_dispatcher_host_impl.h" | 26 #include "content/browser/loader/resource_dispatcher_host_impl.h" |
27 #include "content/browser/loader/resource_message_filter.h" | 27 #include "content/browser/loader/resource_message_filter.h" |
28 #include "content/browser/loader/resource_request_info_impl.h" | 28 #include "content/browser/loader/resource_request_info_impl.h" |
29 #include "content/browser/loader/test_url_loader_client.h" | 29 #include "content/browser/loader/test_url_loader_client.h" |
30 #include "content/browser/loader_delegate_impl.h" | 30 #include "content/browser/loader_delegate_impl.h" |
31 #include "content/common/resource_request.h" | |
32 #include "content/common/resource_request_completion_status.h" | 31 #include "content/common/resource_request_completion_status.h" |
33 #include "content/common/url_loader.mojom.h" | 32 #include "content/common/url_loader.mojom.h" |
34 #include "content/common/url_loader_factory.mojom.h" | 33 #include "content/common/url_loader_factory.mojom.h" |
35 #include "content/public/browser/resource_context.h" | 34 #include "content/public/browser/resource_context.h" |
36 #include "content/public/browser/resource_dispatcher_host_delegate.h" | 35 #include "content/public/browser/resource_dispatcher_host_delegate.h" |
37 #include "content/public/common/content_paths.h" | 36 #include "content/public/common/content_paths.h" |
| 37 #include "content/public/common/resource_request.h" |
38 #include "content/public/test/test_browser_context.h" | 38 #include "content/public/test/test_browser_context.h" |
39 #include "content/public/test/test_browser_thread_bundle.h" | 39 #include "content/public/test/test_browser_thread_bundle.h" |
40 #include "mojo/public/c/system/data_pipe.h" | 40 #include "mojo/public/c/system/data_pipe.h" |
41 #include "mojo/public/c/system/types.h" | 41 #include "mojo/public/c/system/types.h" |
42 #include "mojo/public/cpp/bindings/binding.h" | 42 #include "mojo/public/cpp/bindings/binding.h" |
43 #include "mojo/public/cpp/system/data_pipe.h" | 43 #include "mojo/public/cpp/system/data_pipe.h" |
44 #include "net/base/io_buffer.h" | 44 #include "net/base/io_buffer.h" |
45 #include "net/base/net_errors.h" | 45 #include "net/base/net_errors.h" |
46 #include "net/http/http_response_headers.h" | 46 #include "net/http/http_response_headers.h" |
47 #include "net/http/http_response_info.h" | 47 #include "net/http/http_response_info.h" |
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
564 ASSERT_FALSE(rdh_.GetURLRequest(GlobalRequestID(kChildId, kRequestId))); | 564 ASSERT_FALSE(rdh_.GetURLRequest(GlobalRequestID(kChildId, kRequestId))); |
565 } | 565 } |
566 | 566 |
567 INSTANTIATE_TEST_CASE_P(URLLoaderFactoryImplTest, | 567 INSTANTIATE_TEST_CASE_P(URLLoaderFactoryImplTest, |
568 URLLoaderFactoryImplTest, | 568 URLLoaderFactoryImplTest, |
569 ::testing::Values(128, 32 * 1024)); | 569 ::testing::Values(128, 32 * 1024)); |
570 | 570 |
571 } // namespace | 571 } // namespace |
572 | 572 |
573 } // namespace content | 573 } // namespace content |
OLD | NEW |