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