Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2874)

Unified Diff: chrome/browser/ssl/connection_security_android.cc

Issue 1314843007: Refactor connection_security into SecurityStateModel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: create SecurityStateModel for chromeos login webview Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ssl/connection_security_android.h ('k') | chrome/browser/ssl/security_state_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ssl/connection_security_android.cc
diff --git a/chrome/browser/ssl/connection_security_android.cc b/chrome/browser/ssl/connection_security_android.cc
deleted file mode 100644
index edce54c65f5c6459f110ed0c3f65218404a8cb49..0000000000000000000000000000000000000000
--- a/chrome/browser/ssl/connection_security_android.cc
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/ssl/connection_security_android.h"
-
-#include "base/logging.h"
-#include "chrome/browser/ssl/connection_security.h"
-#include "content/public/browser/web_contents.h"
-#include "jni/ConnectionSecurity_jni.h"
-
-// static
-bool RegisterConnectionSecurityAndroid(JNIEnv* env) {
- return RegisterNativesImpl(env);
-}
-
-// static
-jint GetSecurityLevelForWebContents(
- JNIEnv* env,
- const JavaParamRef<jclass>& jcaller,
- const JavaParamRef<jobject>& jweb_contents) {
- content::WebContents* web_contents =
- content::WebContents::FromJavaWebContents(jweb_contents);
- DCHECK(web_contents);
- return connection_security::GetSecurityLevelForWebContents(web_contents);
-}
« no previous file with comments | « chrome/browser/ssl/connection_security_android.h ('k') | chrome/browser/ssl/security_state_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698