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

Unified Diff: chrome/browser/ui/browser.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
« no previous file with comments | « chrome/browser/search_engines/template_url.cc ('k') | chrome/browser/ui/webui/history2_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 9a24b1b696ae61b6a5d43deb79c67a8b0dcb21fc..639ba740a4df900b77b4bb00c012061833709b20 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -155,8 +155,8 @@
#include "ui/base/animation/animation.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/gfx/point.h"
-#include "webkit/glue/webkit_glue.h"
#include "webkit/glue/web_intent_data.h"
+#include "webkit/glue/webkit_glue.h"
#include "webkit/glue/window_open_disposition.h"
#if defined(OS_WIN)
@@ -1791,8 +1791,9 @@ void Browser::EmailPageLocation() {
TabContents* tc = GetSelectedTabContents();
DCHECK(tc);
- std::string title = EscapeQueryParamValue(UTF16ToUTF8(tc->GetTitle()), false);
- std::string page_url = EscapeQueryParamValue(tc->GetURL().spec(), false);
+ std::string title = net::EscapeQueryParamValue(
+ UTF16ToUTF8(tc->GetTitle()), false);
+ std::string page_url = net::EscapeQueryParamValue(tc->GetURL().spec(), false);
std::string mailto = std::string("mailto:?subject=Fwd:%20") +
title + "&body=%0A%0A" + page_url;
platform_util::OpenExternal(GURL(mailto));
« no previous file with comments | « chrome/browser/search_engines/template_url.cc ('k') | chrome/browser/ui/webui/history2_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698