Skip to content
  • rsleevi's avatar
    Move net::FormatUrl and friends outside of //net and into //components · 24f64dc2
    rsleevi authored
    net::FormatUrl and related are specifically concerned with display
    policies of URLs, which is not something that //net needs to be aware
    of, as that's a UX question.
    
    This folds in net::FormatURL along with the existing //components/url_fixer
    and //components/secure_display into a common component,
    //components/url_formatter, that handles reformatting URLs for user-friendly
    or data storage (url_formatter), for use in security prompts (elide_url),
    or for reformatting URLs from user input (url_fixer)
    
    (Disabling presubmit since this is intentionally not fixing a legacy API, just moving it for future cleanups)
    
    BUG=486979
    NOPRESUBMIT=true
    
    Review URL: https://codereview.chromium.org/1171333003
    
    Cr-Commit-Position: refs/heads/master@{#342445}
    24f64dc2