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

Unified Diff: chrome/browser/ui/omnibox/omnibox_edit_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: Fold in secure_display to url_formatter 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/omnibox/omnibox_edit_model.cc
diff --git a/chrome/browser/ui/omnibox/omnibox_edit_model.cc b/chrome/browser/ui/omnibox/omnibox_edit_model.cc
index 89a6265d316e5e8d3c02d395e00b86e423fa9964..f9ce07f136e1e5106c7ef3829de4378a148ebf33 100644
--- a/chrome/browser/ui/omnibox/omnibox_edit_model.cc
+++ b/chrome/browser/ui/omnibox/omnibox_edit_model.cc
@@ -52,7 +52,7 @@
#include "components/search_engines/template_url.h"
#include "components/search_engines/template_url_prepopulate_data.h"
#include "components/search_engines/template_url_service.h"
-#include "components/url_fixer/url_fixer.h"
+#include "components/url_formatter/url_fixer.h"
#include "content/public/browser/navigation_controller.h"
#include "content/public/browser/navigation_entry.h"
#include "content/public/browser/user_metrics.h"
@@ -321,7 +321,8 @@ bool OmniboxEditModel::UpdatePermanentText() {
}
GURL OmniboxEditModel::PermanentURL() {
- return url_fixer::FixupURL(base::UTF16ToUTF8(permanent_text_), std::string());
+ return url_formatter::FixupURL(base::UTF16ToUTF8(permanent_text_),
+ std::string());
}
void OmniboxEditModel::SetUserText(const base::string16& text) {

Powered by Google App Engine
This is Rietveld 408576698