| Index: chrome/browser/ssl/security_state_model_android.cc
|
| diff --git a/chrome/browser/ssl/security_state_model_android.cc b/chrome/browser/ssl/security_state_model_android.cc
|
| index c39fefac88db28af4335f1f5394a60e119720ddf..06673f14c2741946276faf43cd80265955319ff6 100644
|
| --- a/chrome/browser/ssl/security_state_model_android.cc
|
| +++ b/chrome/browser/ssl/security_state_model_android.cc
|
| @@ -32,41 +32,3 @@ jint GetSecurityLevelForWebContents(
|
| model_client->GetSecurityInfo(&security_info);
|
| return security_info.security_level;
|
| }
|
| -
|
| -// static
|
| -jboolean IsDeprecatedSHA1Present(JNIEnv* env,
|
| - const JavaParamRef<jclass>& jcaller,
|
| - const JavaParamRef<jobject>& jweb_contents) {
|
| - content::WebContents* web_contents =
|
| - content::WebContents::FromJavaWebContents(jweb_contents);
|
| - DCHECK(web_contents);
|
| - ChromeSecurityStateModelClient::CreateForWebContents(web_contents);
|
| - ChromeSecurityStateModelClient* model_client =
|
| - ChromeSecurityStateModelClient::FromWebContents(web_contents);
|
| - DCHECK(model_client);
|
| - security_state::SecurityStateModel::SecurityInfo security_info;
|
| - model_client->GetSecurityInfo(&security_info);
|
| - return security_info.sha1_deprecation_status !=
|
| - security_state::SecurityStateModel::NO_DEPRECATED_SHA1;
|
| -}
|
| -
|
| -// static
|
| -jboolean IsPassiveMixedContentPresent(
|
| - JNIEnv* env,
|
| - const JavaParamRef<jclass>& jcaller,
|
| - const JavaParamRef<jobject>& jweb_contents) {
|
| - content::WebContents* web_contents =
|
| - content::WebContents::FromJavaWebContents(jweb_contents);
|
| - DCHECK(web_contents);
|
| - ChromeSecurityStateModelClient::CreateForWebContents(web_contents);
|
| - ChromeSecurityStateModelClient* model_client =
|
| - ChromeSecurityStateModelClient::FromWebContents(web_contents);
|
| - DCHECK(model_client);
|
| - security_state::SecurityStateModel::SecurityInfo security_info;
|
| - model_client->GetSecurityInfo(&security_info);
|
| - return security_info.mixed_content_status ==
|
| - security_state::SecurityStateModel::CONTENT_STATUS_DISPLAYED ||
|
| - security_info.mixed_content_status ==
|
| - security_state::SecurityStateModel::
|
| - CONTENT_STATUS_DISPLAYED_AND_RAN;
|
| -}
|
|
|