diff options
author | rsleevi <rsleevi@chromium.org> | 2015-08-07 14:39:21 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-07 21:39:50 +0000 |
commit | 24f64dc221628032b7843f1af6b277a7f0d6c562 (patch) | |
tree | ba2c4bb1d37847b2cd76a4d8d243d1f000e0284e /content/shell/BUILD.gn | |
parent | d9773981c8733eb55314efad66398350f862c8be (diff) | |
download | chromium_src-24f64dc221628032b7843f1af6b277a7f0d6c562.zip chromium_src-24f64dc221628032b7843f1af6b277a7f0d6c562.tar.gz chromium_src-24f64dc221628032b7843f1af6b277a7f0d6c562.tar.bz2 |
Move net::FormatUrl and friends outside of //net and into //components
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}
Diffstat (limited to 'content/shell/BUILD.gn')
-rw-r--r-- | content/shell/BUILD.gn | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/content/shell/BUILD.gn b/content/shell/BUILD.gn index d5b4c1e..126d1c7 100644 --- a/content/shell/BUILD.gn +++ b/content/shell/BUILD.gn @@ -203,6 +203,7 @@ static_library("content_shell_lib") { "//components/devtools_http_handler", "//components/plugins/renderer", "//components/test_runner:test_runner", + "//components/url_formatter", "//components/web_cache/renderer", "//content:resources", "//content/app/resources", |