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

Unified Diff: chrome/browser/ui/passwords/manage_passwords_view_utils.cc

Issue 1171333003: Move net::FormatUrl and friends outside of //net and into //components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase again now that CQ is fixed Created 5 years, 4 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/browser/ui/passwords/manage_passwords_view_utils.cc
diff --git a/chrome/browser/ui/passwords/manage_passwords_view_utils.cc b/chrome/browser/ui/passwords/manage_passwords_view_utils.cc
index 717959e14ad733ea71bf72575432a245caa89105..11206becb2a45081fcdebcdbffa74a503e2f7820 100644
--- a/chrome/browser/ui/passwords/manage_passwords_view_utils.cc
+++ b/chrome/browser/ui/passwords/manage_passwords_view_utils.cc
@@ -8,7 +8,7 @@
#include "chrome/grit/chromium_strings.h"
#include "chrome/grit/generated_resources.h"
#include "components/password_manager/core/browser/affiliation_utils.h"
-#include "components/secure_display/elide_url.h"
+#include "components/url_formatter/elide_url.h"
#include "net/base/net_util.h"
#include "net/base/registry_controlled_domains/registry_controlled_domain.h"
#include "ui/base/l10n/l10n_util.h"
@@ -56,7 +56,7 @@ void GetSavePasswordDialogTitleTextAndLinkRange(
net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES);
if (target_domain_differs) {
title_id = IDS_SAVE_PASSWORD_TITLE;
- replacements.push_back(secure_display::FormatUrlForSecurityDisplay(
+ replacements.push_back(url_formatter::FormatUrlForSecurityDisplay(
form_origin_url, std::string()));
}

Powered by Google App Engine
This is Rietveld 408576698