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

Unified Diff: ui/base/text/text_elider.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 | « net/base/escape.cc ('k') | webkit/blob/view_blob_internals_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/text/text_elider.cc
diff --git a/ui/base/text/text_elider.cc b/ui/base/text/text_elider.cc
index 1fa38d46a42da7ac55fef904615f99c00d746e74..06212c20673e2226110b136ad46392a640006d0d 100644
--- a/ui/base/text/text_elider.cc
+++ b/ui/base/text/text_elider.cc
@@ -118,7 +118,7 @@ string16 ElideUrl(const GURL& url,
// Get a formatted string and corresponding parsing of the url.
url_parse::Parsed parsed;
string16 url_string = net::FormatUrl(url, languages, net::kFormatUrlOmitAll,
- UnescapeRule::SPACES, &parsed, NULL, NULL);
+ net::UnescapeRule::SPACES, &parsed, NULL, NULL);
if (available_pixel_width <= 0)
return url_string;
@@ -397,7 +397,7 @@ SortedDisplayURL::SortedDisplayURL(const GURL& url,
string16 host_minus_www = net::StripWWW(sort_host_);
url_parse::Parsed parsed;
display_url_ = net::FormatUrl(url, languages,
- net::kFormatUrlOmitAll, UnescapeRule::SPACES, &parsed, &prefix_end_,
+ net::kFormatUrlOmitAll, net::UnescapeRule::SPACES, &parsed, &prefix_end_,
NULL);
if (sort_host_.length() > host_minus_www.length()) {
prefix_end_ += sort_host_.length() - host_minus_www.length();
« no previous file with comments | « net/base/escape.cc ('k') | webkit/blob/view_blob_internals_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698