Commit c9ebdc59 authored by lgarron@chromium.org's avatar lgarron@chromium.org

Remove unused securityState code in WebInspector.SecurityModel.

The Chrome-side security handler now sends a SecurityStyleChanged event upon being enabled, so it is not necessary for SecurityModel to do anything to keep track of security state anymore.

BUG=

Review URL: https://codereview.chromium.org/1309953003

git-svn-id: svn://svn.chromium.org/blink/trunk@202016 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 1e8c4674
...@@ -14,8 +14,6 @@ WebInspector.SecurityModel = function(target) ...@@ -14,8 +14,6 @@ WebInspector.SecurityModel = function(target)
this._securityAgent = target.securityAgent(); this._securityAgent = target.securityAgent();
target.registerSecurityDispatcher(this._dispatcher); target.registerSecurityDispatcher(this._dispatcher);
this._securityAgent.enable(); this._securityAgent.enable();
this._securityState = SecurityAgent.SecurityState.Unknown;
} }
WebInspector.SecurityModel.EventTypes = { WebInspector.SecurityModel.EventTypes = {
...@@ -23,14 +21,6 @@ WebInspector.SecurityModel.EventTypes = { ...@@ -23,14 +21,6 @@ WebInspector.SecurityModel.EventTypes = {
} }
WebInspector.SecurityModel.prototype = { WebInspector.SecurityModel.prototype = {
/**
* @return {!SecurityAgent.SecurityState} securityState
*/
securityState: function()
{
return /** @type {!SecurityAgent.SecurityState} */ (this._securityState);
},
__proto__: WebInspector.SDKModel.prototype __proto__: WebInspector.SDKModel.prototype
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment