| 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 #ifndef CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ |
| 6 #define CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ | 6 #define CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| 11 | 11 |
| 12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/supports_user_data.h" | 16 #include "base/supports_user_data.h" |
| 17 #include "content/browser/blob_storage/chrome_blob_storage_context.h" | 17 #include "content/browser/blob_storage/chrome_blob_storage_context.h" |
| 18 #include "content/browser/loader/resource_requester_info.h" | 18 #include "content/browser/loader/resource_requester_info.h" |
| 19 #include "content/common/url_loader.mojom.h" | |
| 20 #include "content/public/browser/navigation_ui_data.h" | 19 #include "content/public/browser/navigation_ui_data.h" |
| 21 #include "content/public/browser/resource_request_info.h" | 20 #include "content/public/browser/resource_request_info.h" |
| 22 #include "content/public/common/previews_state.h" | 21 #include "content/public/common/previews_state.h" |
| 23 #include "content/public/common/referrer.h" | 22 #include "content/public/common/referrer.h" |
| 24 #include "content/public/common/resource_request_body.h" | 23 #include "content/public/common/resource_request_body.h" |
| 25 #include "content/public/common/resource_type.h" | 24 #include "content/public/common/resource_type.h" |
| 25 #include "content/public/common/url_loader.mojom.h" |
| 26 #include "net/base/load_states.h" | 26 #include "net/base/load_states.h" |
| 27 | 27 |
| 28 namespace content { | 28 namespace content { |
| 29 class DetachableResourceHandler; | 29 class DetachableResourceHandler; |
| 30 class ResourceContext; | 30 class ResourceContext; |
| 31 struct GlobalRequestID; | 31 struct GlobalRequestID; |
| 32 struct GlobalRoutingID; | 32 struct GlobalRoutingID; |
| 33 | 33 |
| 34 // Holds the data ResourceDispatcherHost associates with each request. | 34 // Holds the data ResourceDispatcherHost associates with each request. |
| 35 // Retrieve this data by calling ResourceDispatcherHost::InfoForRequest. | 35 // Retrieve this data by calling ResourceDispatcherHost::InfoForRequest. |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 // and remote endpoint. This callback will be removed once PlzNavigate is | 251 // and remote endpoint. This callback will be removed once PlzNavigate is |
| 252 // shipped. | 252 // shipped. |
| 253 TransferCallback on_transfer_; | 253 TransferCallback on_transfer_; |
| 254 | 254 |
| 255 DISALLOW_COPY_AND_ASSIGN(ResourceRequestInfoImpl); | 255 DISALLOW_COPY_AND_ASSIGN(ResourceRequestInfoImpl); |
| 256 }; | 256 }; |
| 257 | 257 |
| 258 } // namespace content | 258 } // namespace content |
| 259 | 259 |
| 260 #endif // CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ | 260 #endif // CONTENT_BROWSER_LOADER_RESOURCE_REQUEST_INFO_IMPL_H_ |
| OLD | NEW |