| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_REQUEST_INFO_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_REQUEST_INFO_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_REQUEST_INFO_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_REQUEST_INFO_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/time.h" | 12 #include "base/time.h" |
| 13 #include "chrome/common/child_process_info.h" | 13 #include "chrome/common/child_process_info.h" |
| 14 #include "net/base/load_states.h" | 14 #include "net/base/load_states.h" |
| 15 #include "net/url_request/url_request.h" | 15 #include "net/url_request/url_request.h" |
| 16 #include "webkit/glue/resource_type.h" | 16 #include "webkit/glue/resource_type.h" |
| 17 | 17 |
| 18 class CrossSiteResourceHandler; | 18 class CrossSiteResourceHandler; |
| 19 class LoginHandler; | 19 class LoginHandler; |
| 20 class ResourceDispatcherHost; | 20 class ResourceDispatcherHost; |
| 21 class ResourceHandler; | 21 class ResourceHandler; |
| 22 class SSLClientAuthHandler; | 22 class SSLClientAuthHandler; |
| 23 | 23 |
| 24 namespace webkit_blob { | 24 namespace webkit_blob { |
| 25 class BlobData; | 25 class BlobData; |
| 26 } | 26 } |
| 27 | 27 |
| 28 // Holds the data ResourceDispatcherHost associates with each request. | 28 // Holds the data ResourceDispatcherHost associates with each request. |
| 29 // Retrieve this data by calling ResourceDispatcherHost::InfoForRequest. | 29 // Retrieve this data by calling ResourceDispatcherHost::InfoForRequest. |
| 30 class ResourceDispatcherHostRequestInfo : public URLRequest::UserData { | 30 class ResourceDispatcherHostRequestInfo : public net::URLRequest::UserData { |
| 31 public: | 31 public: |
| 32 // This will take a reference to the handler. | 32 // This will take a reference to the handler. |
| 33 ResourceDispatcherHostRequestInfo( | 33 ResourceDispatcherHostRequestInfo( |
| 34 ResourceHandler* handler, | 34 ResourceHandler* handler, |
| 35 ChildProcessInfo::ProcessType process_type, | 35 ChildProcessInfo::ProcessType process_type, |
| 36 int child_id, | 36 int child_id, |
| 37 int route_id, | 37 int route_id, |
| 38 int request_id, | 38 int request_id, |
| 39 const std::string& frame_origin, | 39 const std::string& frame_origin, |
| 40 const std::string& main_frame_origin, | 40 const std::string& main_frame_origin, |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 | 239 |
| 240 // Contains the id of the host renderer. | 240 // Contains the id of the host renderer. |
| 241 int host_renderer_id_; | 241 int host_renderer_id_; |
| 242 // Contains the id of the host render view. | 242 // Contains the id of the host render view. |
| 243 int host_render_view_id_; | 243 int host_render_view_id_; |
| 244 | 244 |
| 245 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostRequestInfo); | 245 DISALLOW_COPY_AND_ASSIGN(ResourceDispatcherHostRequestInfo); |
| 246 }; | 246 }; |
| 247 | 247 |
| 248 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_REQUEST_INFO_H_ | 248 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_DISPATCHER_HOST_REQUEST_INFO_H_ |
| OLD | NEW |