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

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

Issue 23503056: [Android] Remove deprecated method from UrlUtilities (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/UrlUtilities.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/UrlUtilities.java b/chrome/android/java/src/org/chromium/chrome/browser/UrlUtilities.java
index 1d7da23e937a8c82a5d485c0b755b119ceb91ea1..8f1600378f8c979d0b7ba86b5bf9b46971d9fced 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/UrlUtilities.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/UrlUtilities.java
@@ -155,26 +155,6 @@ public class UrlUtilities {
}
/**
- * This function works by calling net::registry_controlled_domains::GetDomainAndRegistry with
- * the filter EXCLUDE_PRIVATE_REGISTRIES.
- *
- * @param uri A URI
- *
- * @return The registered, organization-identifying host and all its registry information, but
- * no subdomains, from the given URI. Returns an empty string if the URI is invalid, has no host
- * (e.g. a file: URI), has multiple trailing dots, is an IP address, has only one subcomponent
- * (i.e. no dots other than leading/trailing ones), or is itself a recognized registry
- * identifier.
- *
- * TODO(rmcilroy): remove this method once all callers have been updated to use two parameter
- * version.
- */
- @Deprecated
- public static String getDomainAndRegistry(String uri) {
- return nativeGetDomainAndRegistry(uri, false);
- }
-
- /**
* This function works by calling net::registry_controlled_domains::GetDomainAndRegistry
*
* @param uri A URI
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698