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

Unified Diff: chrome/common/net/x509_certificate_model.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
« no previous file with comments | « chrome/common/net/url_util.cc ('k') | chrome/utility/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/net/x509_certificate_model.cc
diff --git a/chrome/common/net/x509_certificate_model.cc b/chrome/common/net/x509_certificate_model.cc
index ee502a1d0199a6ee2861eb3cd10b3afcdf4bb660..1a95b7a439ab815cd699cc3f767fac843efc8b7c 100644
--- a/chrome/common/net/x509_certificate_model.cc
+++ b/chrome/common/net/x509_certificate_model.cc
@@ -10,7 +10,7 @@
#include "base/strings/utf_string_conversions.h"
#include "chrome/grit/generated_resources.h"
-#include "net/base/net_util.h"
+#include "components/url_formatter/url_formatter.h"
#include "ui/base/l10n/l10n_util.h"
namespace x509_certificate_model {
@@ -21,7 +21,7 @@ std::string ProcessIDN(const std::string& input) {
input16.reserve(input.length());
input16.insert(input16.end(), input.begin(), input.end());
- base::string16 output16 = net::IDNToUnicode(input, std::string());
+ base::string16 output16 = url_formatter::IDNToUnicode(input, std::string());
if (input16 == output16)
return input; // Input did not contain any encoded data.
« no previous file with comments | « chrome/common/net/url_util.cc ('k') | chrome/utility/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698