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

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

Issue 1169213006: Make ConnectionSecurityHelper a namespace instead of a class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
Index: chrome/browser/ssl/connection_security_status_android.cc
diff --git a/chrome/browser/ssl/connection_security_helper_android.cc b/chrome/browser/ssl/connection_security_status_android.cc
similarity index 67%
rename from chrome/browser/ssl/connection_security_helper_android.cc
rename to chrome/browser/ssl/connection_security_status_android.cc
index d2bb3d457d6a08062320ac41d9dffdd12753c00f..d0079576225d55aac6a457c3959abcd3771cc6fc 100644
--- a/chrome/browser/ssl/connection_security_helper_android.cc
+++ b/chrome/browser/ssl/connection_security_status_android.cc
@@ -2,15 +2,15 @@
// 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_helper_android.h"
+#include "chrome/browser/ssl/connection_security_status_android.h"
#include "base/logging.h"
-#include "chrome/browser/ssl/connection_security_helper.h"
+#include "chrome/browser/ssl/connection_security_status.h"
#include "content/public/browser/web_contents.h"
-#include "jni/ConnectionSecurityHelper_jni.h"
+#include "jni/ConnectionSecurityStatus_jni.h"
// static
-bool RegisterConnectionSecurityHelperAndroid(JNIEnv* env) {
+bool RegisterConnectionSecurityStatusAndroid(JNIEnv* env) {
return RegisterNativesImpl(env);
}
@@ -21,5 +21,5 @@ jint GetSecurityLevelForWebContents(JNIEnv* env,
content::WebContents* web_contents =
content::WebContents::FromJavaWebContents(jweb_contents);
DCHECK(web_contents);
- return ConnectionSecurityHelper::GetSecurityLevelForWebContents(web_contents);
+ return ConnectionSecurityStatus::GetSecurityLevelForWebContents(web_contents);
}

Powered by Google App Engine
This is Rietveld 408576698