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 #include "chrome/browser/renderer_host/resource_dispatcher_host_request_info.h" | 5 #include "chrome/browser/renderer_host/resource_dispatcher_host_request_info.h" |
6 | 6 |
7 #include "chrome/browser/login_prompt.h" | 7 #include "chrome/browser/login_prompt.h" |
8 #include "chrome/browser/renderer_host/resource_handler.h" | 8 #include "chrome/browser/renderer_host/resource_handler.h" |
9 #include "chrome/browser/ssl/ssl_client_auth_handler.h" | 9 #include "chrome/browser/ssl/ssl_client_auth_handler.h" |
| 10 #include "webkit/blob/blob_data.h" |
10 | 11 |
11 ResourceDispatcherHostRequestInfo::ResourceDispatcherHostRequestInfo( | 12 ResourceDispatcherHostRequestInfo::ResourceDispatcherHostRequestInfo( |
12 ResourceHandler* handler, | 13 ResourceHandler* handler, |
13 ChildProcessInfo::ProcessType process_type, | 14 ChildProcessInfo::ProcessType process_type, |
14 int child_id, | 15 int child_id, |
15 int route_id, | 16 int route_id, |
16 int request_id, | 17 int request_id, |
17 const std::string& frame_origin, | 18 const std::string& frame_origin, |
18 const std::string& main_frame_origin, | 19 const std::string& main_frame_origin, |
19 ResourceType::Type resource_type, | 20 ResourceType::Type resource_type, |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 } | 55 } |
55 | 56 |
56 void ResourceDispatcherHostRequestInfo::set_login_handler(LoginHandler* lh) { | 57 void ResourceDispatcherHostRequestInfo::set_login_handler(LoginHandler* lh) { |
57 login_handler_ = lh; | 58 login_handler_ = lh; |
58 } | 59 } |
59 | 60 |
60 void ResourceDispatcherHostRequestInfo::set_ssl_client_auth_handler( | 61 void ResourceDispatcherHostRequestInfo::set_ssl_client_auth_handler( |
61 SSLClientAuthHandler* s) { | 62 SSLClientAuthHandler* s) { |
62 ssl_client_auth_handler_ = s; | 63 ssl_client_auth_handler_ = s; |
63 } | 64 } |
| 65 |
| 66 void ResourceDispatcherHostRequestInfo::set_requested_blob_data( |
| 67 webkit_blob::BlobData* data) { |
| 68 requested_blob_data_ = data; |
| 69 } |
OLD | NEW |