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 e8aeac595bc32f7e1e7acb3630e180c60a0fe1fe..6d1d591b7f82787c3ceafb0bc11b87521ce02d1c 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; |
/** |
@@ -25,19 +24,6 @@ |
} |
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. |
@@ -83,7 +69,6 @@ |
return nativeWouldReplaceURL(mNativeToolbarModelAndroid); |
} |
- private static native int nativeGetSecurityLevelForWebContents(WebContents webContents); |
private static native boolean nativeIsDeprecatedSHA1Present(WebContents webContents); |
private native long nativeInit(ToolbarModelDelegate delegate); |