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/ssl/ssl_request_info.h" | 5 #include "chrome/browser/ssl/ssl_request_info.h" |
6 | 6 |
7 SSLRequestInfo::SSLRequestInfo(const GURL& url, | 7 SSLRequestInfo::SSLRequestInfo(const GURL& url, |
8 ResourceType::Type resource_type, | 8 ResourceType::Type resource_type, |
9 const std::string& frame_origin, | 9 const std::string& frame_origin, |
10 const std::string& main_frame_origin, | 10 const std::string& main_frame_origin, |
11 int child_id, | 11 int child_id, |
12 int ssl_cert_id, | 12 int ssl_cert_id, |
13 int ssl_cert_status) | 13 int ssl_cert_status, |
| 14 string16 tls_username) |
14 : url_(url), | 15 : url_(url), |
15 resource_type_(resource_type), | 16 resource_type_(resource_type), |
16 frame_origin_(frame_origin), | 17 frame_origin_(frame_origin), |
17 main_frame_origin_(main_frame_origin), | 18 main_frame_origin_(main_frame_origin), |
18 child_id_(child_id), | 19 child_id_(child_id), |
19 ssl_cert_id_(ssl_cert_id), | 20 ssl_cert_id_(ssl_cert_id), |
20 ssl_cert_status_(ssl_cert_status) { | 21 ssl_cert_status_(ssl_cert_status), |
| 22 tls_username_(tls_username) { |
21 } | 23 } |
22 | 24 |
23 SSLRequestInfo::~SSLRequestInfo() {} | 25 SSLRequestInfo::~SSLRequestInfo() {} |
OLD | NEW |