diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-13 14:19:27 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-13 14:19:27 +0000 |
commit | a0200c5d1d5b98a8a9968b9d3aa893d7e88f59ad (patch) | |
tree | 5769d50bd1828cd576a5e5313690e232e02c9439 /chrome/browser/bookmarks | |
parent | c72e24894a880d67ccc35ee67c85b784f1e829bb (diff) | |
download | chromium_src-a0200c5d1d5b98a8a9968b9d3aa893d7e88f59ad.zip chromium_src-a0200c5d1d5b98a8a9968b9d3aa893d7e88f59ad.tar.gz chromium_src-a0200c5d1d5b98a8a9968b9d3aa893d7e88f59ad.tar.bz2 |
net: Move EscapeForHTML() functions into net namespace.
BUG=64263
TEST=None
R=willchan@chromium.org
Review URL: http://codereview.chromium.org/8256006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105304 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/bookmarks')
-rw-r--r-- | chrome/browser/bookmarks/bookmark_html_writer.cc | 2 | ||||
-rw-r--r-- | chrome/browser/bookmarks/bookmark_node_data.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/bookmarks/bookmark_html_writer.cc b/chrome/browser/bookmarks/bookmark_html_writer.cc index 7349a8e..1866d4d 100644 --- a/chrome/browser/bookmarks/bookmark_html_writer.cc +++ b/chrome/browser/bookmarks/bookmark_html_writer.cc @@ -210,7 +210,7 @@ class Writer : public Task { break; case CONTENT: - utf8_string = EscapeForHTML(text); + utf8_string = net::EscapeForHTML(text); break; default: diff --git a/chrome/browser/bookmarks/bookmark_node_data.cc b/chrome/browser/bookmarks/bookmark_node_data.cc index 9151124..9b2a333 100644 --- a/chrome/browser/bookmarks/bookmark_node_data.cc +++ b/chrome/browser/bookmarks/bookmark_node_data.cc @@ -149,7 +149,7 @@ void BookmarkNodeData::WriteToClipboard(Profile* profile) const { const std::string url = elements[0].url.spec(); scw.WriteBookmark(title, url); - scw.WriteHyperlink(EscapeForHTML(title), url); + scw.WriteHyperlink(net::EscapeForHTML(title), url); // Also write the URL to the clipboard as text so that it can be pasted // into text fields. We use WriteText instead of WriteURL because we don't |