Index: chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarModel.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarModel.java b/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarModel.java |
index e79ce9f57d3ee0ad6a550044419d98a550dd989f..f11355cb9d786d3a13bec0eb15ecc8e0717aaed5 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarModel.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarModel.java |
@@ -5,7 +5,6 @@ |
package org.chromium.chrome.browser.toolbar; |
import org.chromium.base.CalledByNative; |
-import org.chromium.chrome.browser.ui.toolbar.ToolbarModelSecurityLevel; |
import org.chromium.content_public.browser.WebContents; |
/** |
@@ -27,19 +26,6 @@ public class ToolbarModel { |
private long mNativeToolbarModelAndroid; |
/** |
- * Fetch the security level for a given web contents. |
- * |
- * @param webContents The web contents to get the security level for. |
- * @return The ToolbarModelSecurityLevel for the specified web contents. |
- * |
- * @see ToolbarModelSecurityLevel |
- */ |
- public static int getSecurityLevelForWebContents(WebContents webContents) { |
- if (webContents == null) return ToolbarModelSecurityLevel.NONE; |
- return nativeGetSecurityLevelForWebContents(webContents); |
- } |
- |
- /** |
* @param webContents The web contents to query for deprecated SHA-1 presence. |
* @return Whether the security level of the page was deprecated due to SHA-1. |
*/ |
@@ -89,7 +75,6 @@ public class ToolbarModel { |
return nativeWouldReplaceURL(mNativeToolbarModelAndroid); |
} |
- private static native int nativeGetSecurityLevelForWebContents(WebContents webContents); |
private static native boolean nativeIsDeprecatedSHA1Present(WebContents webContents); |
private native long nativeInit(ToolbarModelDelegate delegate); |