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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarModel.java

Issue 1123943002: Move SecurityLevel into a class of its own (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pkasting nits Created 5 years, 7 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/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..0a10e8a131210f5635ecfcaca49aee871c730297 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,7 @@
package org.chromium.chrome.browser.toolbar;
import org.chromium.base.CalledByNative;
-import org.chromium.chrome.browser.ui.toolbar.ToolbarModelSecurityLevel;
+import org.chromium.chrome.browser.ssl.SecurityLevelPolicySecurityLevel;
import org.chromium.content_public.browser.WebContents;
/**
@@ -30,12 +30,12 @@ public class ToolbarModel {
* 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.
+ * @return The SecurityLevelPolicySecurityLevel for the specified web contents.
*
- * @see ToolbarModelSecurityLevel
+ * @see SecurityLevelPolicySecurityLevel
*/
public static int getSecurityLevelForWebContents(WebContents webContents) {
- if (webContents == null) return ToolbarModelSecurityLevel.NONE;
+ if (webContents == null) return SecurityLevelPolicySecurityLevel.NONE;
return nativeGetSecurityLevelForWebContents(webContents);
}

Powered by Google App Engine
This is Rietveld 408576698