| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc
e-loading | 5 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc
e-loading |
| 6 | 6 |
| 7 #include "content/child/resource_dispatcher.h" | 7 #include "content/child/resource_dispatcher.h" |
| 8 | 8 |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 #include "build/build_config.h" | 24 #include "build/build_config.h" |
| 25 #include "content/child/request_extra_data.h" | 25 #include "content/child/request_extra_data.h" |
| 26 #include "content/child/resource_scheduling_filter.h" | 26 #include "content/child/resource_scheduling_filter.h" |
| 27 #include "content/child/shared_memory_received_data_factory.h" | 27 #include "content/child/shared_memory_received_data_factory.h" |
| 28 #include "content/child/site_isolation_stats_gatherer.h" | 28 #include "content/child/site_isolation_stats_gatherer.h" |
| 29 #include "content/child/sync_load_response.h" | 29 #include "content/child/sync_load_response.h" |
| 30 #include "content/child/url_loader_client_impl.h" | 30 #include "content/child/url_loader_client_impl.h" |
| 31 #include "content/common/inter_process_time_ticks_converter.h" | 31 #include "content/common/inter_process_time_ticks_converter.h" |
| 32 #include "content/common/navigation_params.h" | 32 #include "content/common/navigation_params.h" |
| 33 #include "content/common/resource_messages.h" | 33 #include "content/common/resource_messages.h" |
| 34 #include "content/common/resource_request_completion_status.h" | |
| 35 #include "content/common/throttling_url_loader.h" | 34 #include "content/common/throttling_url_loader.h" |
| 36 #include "content/public/child/fixed_received_data.h" | 35 #include "content/public/child/fixed_received_data.h" |
| 37 #include "content/public/child/request_peer.h" | 36 #include "content/public/child/request_peer.h" |
| 38 #include "content/public/child/resource_dispatcher_delegate.h" | 37 #include "content/public/child/resource_dispatcher_delegate.h" |
| 39 #include "content/public/common/resource_request.h" | 38 #include "content/public/common/resource_request.h" |
| 39 #include "content/public/common/resource_request_completion_status.h" |
| 40 #include "content/public/common/resource_response.h" | 40 #include "content/public/common/resource_response.h" |
| 41 #include "content/public/common/resource_type.h" | 41 #include "content/public/common/resource_type.h" |
| 42 #include "net/base/net_errors.h" | 42 #include "net/base/net_errors.h" |
| 43 #include "net/base/request_priority.h" | 43 #include "net/base/request_priority.h" |
| 44 #include "net/http/http_response_headers.h" | 44 #include "net/http/http_response_headers.h" |
| 45 | 45 |
| 46 namespace content { | 46 namespace content { |
| 47 | 47 |
| 48 namespace { | 48 namespace { |
| 49 | 49 |
| (...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 855 delete message; | 855 delete message; |
| 856 } | 856 } |
| 857 } | 857 } |
| 858 | 858 |
| 859 void ResourceDispatcher::SetResourceSchedulingFilter( | 859 void ResourceDispatcher::SetResourceSchedulingFilter( |
| 860 scoped_refptr<ResourceSchedulingFilter> resource_scheduling_filter) { | 860 scoped_refptr<ResourceSchedulingFilter> resource_scheduling_filter) { |
| 861 resource_scheduling_filter_ = resource_scheduling_filter; | 861 resource_scheduling_filter_ = resource_scheduling_filter; |
| 862 } | 862 } |
| 863 | 863 |
| 864 } // namespace content | 864 } // namespace content |
| OLD | NEW |