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 #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_handler.h" | 7 #include "content/browser/renderer_host/resource_handler.h" |
8 #include "content/browser/ssl/ssl_client_auth_handler.h" | 8 #include "content/browser/ssl/ssl_client_auth_handler.h" |
9 #include "content/public/browser/resource_dispatcher_host_login_delegate.h" | 9 #include "content/public/browser/resource_dispatcher_host_login_delegate.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 content::ProcessType process_type, | 14 content::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 bool parent_is_main_frame, | 21 bool parent_is_main_frame, |
22 int64 parent_frame_id, | 22 int64 parent_frame_id, |
23 ResourceType::Type resource_type, | 23 ResourceType::Type resource_type, |
24 content::PageTransition transition_type, | 24 content::PageTransition transition_type, |
25 uint64 upload_size, | 25 uint64 upload_size, |
26 bool is_download, | 26 bool is_download, |
27 bool allow_download, | 27 bool allow_download, |
28 bool has_user_gesture, | 28 bool has_user_gesture, |
29 WebKit::WebReferrerPolicy referrer_policy, | 29 WebKit::WebReferrerPolicy referrer_policy, |
30 const content::ResourceContext* context) | 30 content::ResourceContext* context) |
31 : resource_handler_(handler), | 31 : resource_handler_(handler), |
32 cross_site_handler_(NULL), | 32 cross_site_handler_(NULL), |
33 process_type_(process_type), | 33 process_type_(process_type), |
34 child_id_(child_id), | 34 child_id_(child_id), |
35 route_id_(route_id), | 35 route_id_(route_id), |
36 origin_pid_(origin_pid), | 36 origin_pid_(origin_pid), |
37 request_id_(request_id), | 37 request_id_(request_id), |
38 is_main_frame_(is_main_frame), | 38 is_main_frame_(is_main_frame), |
39 frame_id_(frame_id), | 39 frame_id_(frame_id), |
40 parent_is_main_frame_(parent_is_main_frame), | 40 parent_is_main_frame_(parent_is_main_frame), |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 74 |
75 void ResourceDispatcherHostRequestInfo::set_ssl_client_auth_handler( | 75 void ResourceDispatcherHostRequestInfo::set_ssl_client_auth_handler( |
76 SSLClientAuthHandler* s) { | 76 SSLClientAuthHandler* s) { |
77 ssl_client_auth_handler_ = s; | 77 ssl_client_auth_handler_ = s; |
78 } | 78 } |
79 | 79 |
80 void ResourceDispatcherHostRequestInfo::set_requested_blob_data( | 80 void ResourceDispatcherHostRequestInfo::set_requested_blob_data( |
81 webkit_blob::BlobData* data) { | 81 webkit_blob::BlobData* data) { |
82 requested_blob_data_ = data; | 82 requested_blob_data_ = data; |
83 } | 83 } |
OLD | NEW |