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

Unified Diff: chrome/browser/autocomplete/history_url_provider.cc

Issue 8552002: net: Move UnescapeRule into the net namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/browser/autocomplete/history_quick_provider.cc ('k') | chrome/browser/bookmarks/bookmark_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/history_url_provider.cc
diff --git a/chrome/browser/autocomplete/history_url_provider.cc b/chrome/browser/autocomplete/history_url_provider.cc
index 6d9f25bc2ffd8bf52639ca21e5ffb475d367e5ee..cbbfb0e37b573ac305c9ebe7db578eeb9b2b658f 100644
--- a/chrome/browser/autocomplete/history_url_provider.cc
+++ b/chrome/browser/autocomplete/history_url_provider.cc
@@ -910,7 +910,7 @@ AutocompleteMatch HistoryURLProvider::HistoryMatchToACMatch(
match.fill_into_edit =
AutocompleteInput::FormattedStringWithEquivalentMeaning(info.url(),
net::FormatUrl(info.url(), languages, format_types,
- UnescapeRule::SPACES, NULL, NULL,
+ net::UnescapeRule::SPACES, NULL, NULL,
&inline_autocomplete_offset));
if (!params->prevent_inline_autocomplete)
match.inline_autocomplete_offset = inline_autocomplete_offset;
@@ -919,7 +919,7 @@ AutocompleteMatch HistoryURLProvider::HistoryMatchToACMatch(
size_t match_start = history_match.input_location;
match.contents = net::FormatUrl(info.url(), languages,
- format_types, UnescapeRule::SPACES, NULL, NULL, &match_start);
+ format_types, net::UnescapeRule::SPACES, NULL, NULL, &match_start);
if ((match_start != string16::npos) &&
(inline_autocomplete_offset != string16::npos) &&
(inline_autocomplete_offset != match_start)) {
« no previous file with comments | « chrome/browser/autocomplete/history_quick_provider.cc ('k') | chrome/browser/bookmarks/bookmark_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698