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

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

Issue 1233313005: Move elide_url to its own component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move to static library Created 5 years, 5 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 02ea978445b1169fa485fec2e96b6f595e1dd7af..b2c50d23a65bad7cfcdbe3828dc62136a546cf41 100644
--- a/chrome/browser/ui/passwords/manage_passwords_view_utils.cc
+++ b/chrome/browser/ui/passwords/manage_passwords_view_utils.cc
@@ -5,10 +5,10 @@
#include "chrome/browser/ui/passwords/manage_passwords_view_utils.h"
#include "base/strings/utf_string_conversions.h"
-#include "chrome/browser/ui/elide_url.h"
#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 "net/base/net_util.h"
#include "net/base/registry_controlled_domains/registry_controlled_domain.h"
#include "ui/base/l10n/l10n_util.h"
@@ -54,8 +54,8 @@ void GetSavePasswordDialogTitleTextAndLinkRange(
net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES);
if (target_domain_differs) {
title_id = IDS_SAVE_PASSWORD_TITLE;
- replacements.push_back(
- FormatUrlForSecurityDisplay(form_origin_url, std::string()));
+ replacements.push_back(secure_display::FormatUrlForSecurityDisplay(
+ form_origin_url, std::string()));
}
if (is_smartlock_branding_enabled) {

Powered by Google App Engine
This is Rietveld 408576698