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

Unified Diff: content/child/npapi/plugin_host.cc

Issue 183853011: Move TrimWhitespace to the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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: content/child/npapi/plugin_host.cc
diff --git a/content/child/npapi/plugin_host.cc b/content/child/npapi/plugin_host.cc
index f393c7edb5cbf9b44123c691c7a3fe9707e67aac..e0ac05d529052a6b79c6b352327bc85dc278bba4 100644
--- a/content/child/npapi/plugin_host.cc
+++ b/content/child/npapi/plugin_host.cc
@@ -262,7 +262,7 @@ bool PluginHost::SetPostData(const char* buf,
case GETNAME:
// Got a value.
value = std::string(start, ptr - start);
- TrimWhitespace(value, TRIM_ALL, &value);
+ base::TrimWhitespace(value, base::TRIM_ALL, &value);
// If the name field is empty, we'll skip this header
// but we won't error out.
if (!name.empty() && name != "content-length") {
@@ -274,7 +274,7 @@ bool PluginHost::SetPostData(const char* buf,
case GETVALUE:
// Got a header.
name = StringToLowerASCII(std::string(start, ptr - start));
- TrimWhitespace(name, TRIM_ALL, &name);
+ base::TrimWhitespace(name, base::TRIM_ALL, &name);
start = ptr + 1;
break;
case GETDATA: {
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/renderer/npapi/webplugin_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698