OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/renderer_host/resource_dispatcher_host_request_info.h" | 5 #include "content/browser/renderer_host/resource_dispatcher_host_request_info.h" |
6 | 6 |
7 #include "content/browser/renderer_host/resource_dispatcher_host_login_delegate.
h" | 7 #include "content/browser/renderer_host/resource_dispatcher_host_login_delegate.
h" |
8 #include "content/browser/renderer_host/resource_handler.h" | 8 #include "content/browser/renderer_host/resource_handler.h" |
9 #include "content/browser/ssl/ssl_client_auth_handler.h" | 9 #include "content/browser/ssl/ssl_client_auth_handler.h" |
10 #include "webkit/blob/blob_data.h" | 10 #include "webkit/blob/blob_data.h" |
11 | 11 |
12 ResourceDispatcherHostRequestInfo::ResourceDispatcherHostRequestInfo( | 12 ResourceDispatcherHostRequestInfo::ResourceDispatcherHostRequestInfo( |
13 ResourceHandler* handler, | 13 ResourceHandler* handler, |
14 ChildProcessInfo::ProcessType process_type, | 14 ChildProcessInfo::ProcessType process_type, |
15 int child_id, | 15 int child_id, |
16 int route_id, | 16 int route_id, |
17 int origin_pid, | 17 int origin_pid, |
18 int request_id, | 18 int request_id, |
19 bool is_main_frame, | 19 bool is_main_frame, |
20 int64 frame_id, | 20 int64 frame_id, |
21 ResourceType::Type resource_type, | 21 ResourceType::Type resource_type, |
22 PageTransition::Type transition_type, | 22 content::PageTransition transition_type, |
23 uint64 upload_size, | 23 uint64 upload_size, |
24 bool is_download, | 24 bool is_download, |
25 bool allow_download, | 25 bool allow_download, |
26 bool has_user_gesture, | 26 bool has_user_gesture, |
27 const content::ResourceContext* context) | 27 const content::ResourceContext* context) |
28 : resource_handler_(handler), | 28 : resource_handler_(handler), |
29 cross_site_handler_(NULL), | 29 cross_site_handler_(NULL), |
30 process_type_(process_type), | 30 process_type_(process_type), |
31 child_id_(child_id), | 31 child_id_(child_id), |
32 route_id_(route_id), | 32 route_id_(route_id), |
(...skipping 30 matching lines...) Expand all Loading... |
63 | 63 |
64 void ResourceDispatcherHostRequestInfo::set_ssl_client_auth_handler( | 64 void ResourceDispatcherHostRequestInfo::set_ssl_client_auth_handler( |
65 SSLClientAuthHandler* s) { | 65 SSLClientAuthHandler* s) { |
66 ssl_client_auth_handler_ = s; | 66 ssl_client_auth_handler_ = s; |
67 } | 67 } |
68 | 68 |
69 void ResourceDispatcherHostRequestInfo::set_requested_blob_data( | 69 void ResourceDispatcherHostRequestInfo::set_requested_blob_data( |
70 webkit_blob::BlobData* data) { | 70 webkit_blob::BlobData* data) { |
71 requested_blob_data_ = data; | 71 requested_blob_data_ = data; |
72 } | 72 } |
OLD | NEW |