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

Unified Diff: components/omnibox/browser/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: Fix Android checkdeps 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: components/omnibox/browser/omnibox_edit_model.cc
diff --git a/components/omnibox/browser/omnibox_edit_model.cc b/components/omnibox/browser/omnibox_edit_model.cc
index 8e27dd4b68e61f9bbedf63f702db8c1b5432a935..b75fb5e007db42e940268a0a026ea3f17944f702 100644
--- a/components/omnibox/browser/omnibox_edit_model.cc
+++ b/components/omnibox/browser/omnibox_edit_model.cc
@@ -35,7 +35,7 @@
#include "components/search_engines/template_url_prepopulate_data.h"
#include "components/search_engines/template_url_service.h"
#include "components/toolbar/toolbar_model.h"
-#include "components/url_fixer/url_fixer.h"
+#include "components/url_formatter/url_fixer.h"
#include "ui/gfx/image/image.h"
#include "url/url_util.h"
@@ -298,7 +298,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