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

Unified Diff: chrome/browser/browser_about_handler.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/bookmarks/bookmark_utils.cc ('k') | chrome/browser/chromeos/web_socket_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_about_handler.cc
diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc
index bc76afcbd1743980a7bd8fbad7783830be6aa40d..5c5edd74ac804f0b7a11a5417d4005d630dcc14f 100644
--- a/chrome/browser/browser_about_handler.cc
+++ b/chrome/browser/browser_about_handler.cc
@@ -859,7 +859,8 @@ std::string AboutHistograms(const std::string& query) {
std::string unescaped_query;
std::string unescaped_title("About Histograms");
if (!query.empty()) {
- unescaped_query = net::UnescapeURLComponent(query, UnescapeRule::NORMAL);
+ unescaped_query = net::UnescapeURLComponent(query,
+ net::UnescapeRule::NORMAL);
unescaped_title += " - " + unescaped_query;
}
@@ -890,7 +891,8 @@ static std::string AboutTracking(const std::string& query) {
std::string unescaped_title("About Tracking");
if (!query.empty()) {
unescaped_title += " - ";
- unescaped_title += net::UnescapeURLComponent(query, UnescapeRule::NORMAL);
+ unescaped_title += net::UnescapeURLComponent(query,
+ net::UnescapeRule::NORMAL);
}
std::string data;
AppendHeader(&data, 0, unescaped_title);
« no previous file with comments | « chrome/browser/bookmarks/bookmark_utils.cc ('k') | chrome/browser/chromeos/web_socket_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698