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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_util.cc

Issue 7978039: net: Put more functions from escape.h into net namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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/safe_browsing/safe_browsing_util.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_util.cc b/chrome/browser/safe_browsing/safe_browsing_util.cc
index bb13a0077f3c2d6d1fbb31dc6f46926935831d47..fff2003248fa02541c0e7531ecda1a77847a6d43 100644
--- a/chrome/browser/safe_browsing/safe_browsing_util.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_util.cc
@@ -6,11 +6,11 @@
#include "base/base64.h"
#include "base/logging.h"
-#include "base/stringprintf.h"
#include "base/string_util.h"
+#include "base/stringprintf.h"
+#include "chrome/browser/google/google_util.h"
#include "crypto/hmac.h"
#include "crypto/sha2.h"
-#include "chrome/browser/google/google_util.h"
#include "googleurl/src/gurl.h"
#include "googleurl/src/url_util.h"
#include "net/base/escape.h"
@@ -511,9 +511,10 @@ GURL GeneratePhishingReportUrl(const std::string& report_page,
const char* lang = locale.getLanguage();
if (!lang)
lang = "en"; // fallback
- const std::string continue_esc =
- EscapeQueryParamValue(base::StringPrintf(kContinueUrlFormat, lang), true);
- const std::string current_esc = EscapeQueryParamValue(url_to_report, true);
+ const std::string continue_esc = net::EscapeQueryParamValue(
+ base::StringPrintf(kContinueUrlFormat, lang), true);
+ const std::string current_esc = net::EscapeQueryParamValue(url_to_report,
+ true);
#if defined(OS_WIN)
BrowserDistribution* dist = BrowserDistribution::GetDistribution();
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_blocking_page.cc ('k') | chrome/browser/search_engines/template_url.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698