Move JNI bindings for url_formatter from chrome to //components/url_formatter
By moving the url_formatter methods out of
org.chromium.chrome.browser.UrlUtilities to it's component, other emdedders than
Chrome can benefit from the Java version.
This CL removes the tests originally written for a Java implementation of the
methods replaced by FormatUrlForSecurityDisplay in
https://codereview.chromium.org/1357563002. It's not trivial to move the tests
over to the component as they depend on native library initialization performed
by //content which is disallowed in components/url_formatter/DEPS. Also, the
tests are redundant as the code is thoroughly tested by other means.
Currently there are no users of formatUrlForDisplay() in Chromium, but Opera
would like it exposed.
BUG=
624407
Committed:
https://crrev.com/b232498ead0784193c039ea1997ecafc391503ef
Cr-Commit-Position: refs/heads/master@{#414356}