summaryrefslogtreecommitdiffstats
path: root/webkit/child
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-03 22:05:28 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-03 22:05:28 +0000
commit466c986d6754aa9fb92edc781cd3eade36c41ed1 (patch)
tree330365d2d56ee88037e53840fe47f106fd568c49 /webkit/child
parentf8ddd9000a2e654d930805b01dcbb9d9bfb90e88 (diff)
downloadchromium_src-466c986d6754aa9fb92edc781cd3eade36c41ed1.zip
chromium_src-466c986d6754aa9fb92edc781cd3eade36c41ed1.tar.gz
chromium_src-466c986d6754aa9fb92edc781cd3eade36c41ed1.tar.bz2
Move RemoveChars, ReplaceChars, TrimString, and TruncateUTF8ToByteSize to base namespace.
BUG= R=viettrungluu@chromium.org Review URL: https://codereview.chromium.org/102843002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238465 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/child')
-rw-r--r--webkit/child/multipart_response_delegate.cc2
-rw-r--r--webkit/child/weburlloader_impl.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/webkit/child/multipart_response_delegate.cc b/webkit/child/multipart_response_delegate.cc
index 550aab3..a1e5702 100644
--- a/webkit/child/multipart_response_delegate.cc
+++ b/webkit/child/multipart_response_delegate.cc
@@ -319,7 +319,7 @@ bool MultipartResponseDelegate::ReadMultipartBoundary(
// The byte range response can have quoted boundary strings. This is legal
// as per MIME specifications. Individual data fragements however don't
// contain quoted boundary strings.
- TrimString(*multipart_boundary, "\"", multipart_boundary);
+ base::TrimString(*multipart_boundary, "\"", multipart_boundary);
return true;
}
diff --git a/webkit/child/weburlloader_impl.cc b/webkit/child/weburlloader_impl.cc
index 2267ac8..9ecf69a 100644
--- a/webkit/child/weburlloader_impl.cc
+++ b/webkit/child/weburlloader_impl.cc
@@ -547,7 +547,7 @@ void WebURLLoaderImpl::Context::OnReceivedResponse(
std::string boundary;
net::HttpUtil::ParseContentType(content_type, &mime_type, &charset,
&had_charset, &boundary);
- TrimString(boundary, " \"", &boundary);
+ base::TrimString(boundary, " \"", &boundary);
// If there's no boundary, just handle the request normally. In the gecko
// code, nsMultiMixedConv::OnStartRequest throws an exception.