| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 * @unrestricted | 5 * @unrestricted |
| 6 */ | 6 */ |
| 7 Security.SecurityModel = class extends SDK.SDKModel { | 7 Security.SecurityModel = class extends SDK.SDKModel { |
| 8 /** | 8 /** |
| 9 * @param {!SDK.Target} target | 9 * @param {!SDK.Target} target |
| 10 */ | 10 */ |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 * @param {boolean} schemeIsCryptographic | 101 * @param {boolean} schemeIsCryptographic |
| 102 * @param {!Array<!Protocol.Security.SecurityStateExplanation>} explanations | 102 * @param {!Array<!Protocol.Security.SecurityStateExplanation>} explanations |
| 103 * @param {!Protocol.Security.InsecureContentStatus} insecureContentStatus | 103 * @param {!Protocol.Security.InsecureContentStatus} insecureContentStatus |
| 104 * @param {?string=} summary | 104 * @param {?string=} summary |
| 105 */ | 105 */ |
| 106 securityStateChanged(securityState, schemeIsCryptographic, explanations, insec
ureContentStatus, summary) { | 106 securityStateChanged(securityState, schemeIsCryptographic, explanations, insec
ureContentStatus, summary) { |
| 107 var pageSecurityState = new Security.PageSecurityState( | 107 var pageSecurityState = new Security.PageSecurityState( |
| 108 securityState, schemeIsCryptographic, explanations, insecureContentStatu
s, summary || null); | 108 securityState, schemeIsCryptographic, explanations, insecureContentStatu
s, summary || null); |
| 109 this._model.dispatchEventToListeners(Security.SecurityModel.Events.SecurityS
tateChanged, pageSecurityState); | 109 this._model.dispatchEventToListeners(Security.SecurityModel.Events.SecurityS
tateChanged, pageSecurityState); |
| 110 } | 110 } |
| 111 |
| 112 |
| 113 /** |
| 114 * @override |
| 115 * @param {number} eventID |
| 116 */ |
| 117 certificateError(eventID) {} |
| 111 }; | 118 }; |
| OLD | NEW |