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

Unified Diff: chrome/browser/ui/omnibox/omnibox_edit_model.cc

Issue 1260033005: Revert of Move net::FormatUrl and friends outside of //net and into //components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/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 3acba3ecea6edb82524d9858a897ab905b30603a..c94eaddd645ca53eed0bafe3d15221dfb9a8348e 100644
--- a/chrome/browser/ui/omnibox/omnibox_edit_model.cc
+++ b/chrome/browser/ui/omnibox/omnibox_edit_model.cc
@@ -45,7 +45,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_formatter/url_fixer.h"
+#include "components/url_fixer/url_fixer.h"
#include "ui/gfx/image/image.h"
#include "url/url_util.h"
@@ -310,8 +310,7 @@
}
GURL OmniboxEditModel::PermanentURL() {
- return url_formatter::FixupURL(base::UTF16ToUTF8(permanent_text_),
- std::string());
+ return url_fixer::FixupURL(base::UTF16ToUTF8(permanent_text_), std::string());
}
void OmniboxEditModel::SetUserText(const base::string16& text) {

Powered by Google App Engine
This is Rietveld 408576698