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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/util/UrlUtilities.java

Issue 2780403002: WebView: change default shouldOverrideUrlLoading (Closed)
Patch Set: Squash commits Created 3 years, 8 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/util/UrlUtilities.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/util/UrlUtilities.java b/chrome/android/java/src/org/chromium/chrome/browser/util/UrlUtilities.java
index dcd355a9a4febf911e300dbd24d2965f1e1151ca..ad47afc30c7234af69309ca7caa5ff8711ff3da7 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/util/UrlUtilities.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/util/UrlUtilities.java
@@ -9,8 +9,8 @@ import android.text.TextUtils;
import org.chromium.base.CollectionUtil;
import org.chromium.base.Log;
import org.chromium.base.VisibleForTesting;
-
import org.chromium.chrome.browser.UrlConstants;
+import org.chromium.content_public.common.ContentUrlConstants;
import java.io.UnsupportedEncodingException;
import java.net.URI;
@@ -31,10 +31,9 @@ public class UrlUtilities {
/**
* URI schemes that are internal to Chrome.
*/
- private static final HashSet<String> INTERNAL_SCHEMES = CollectionUtil.newHashSet(
- UrlConstants.CHROME_SCHEME,
- UrlConstants.CHROME_NATIVE_SCHEME,
- UrlConstants.ABOUT_SCHEME);
+ private static final HashSet<String> INTERNAL_SCHEMES =
+ CollectionUtil.newHashSet(UrlConstants.CHROME_SCHEME, UrlConstants.CHROME_NATIVE_SCHEME,
+ ContentUrlConstants.ABOUT_SCHEME);
// Patterns used in validateIntentUrl.
private static final Pattern DNS_HOSTNAME_PATTERN =

Powered by Google App Engine
This is Rietveld 408576698