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

Unified Diff: printing/backend/cups_helper.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
« no previous file with comments | « ppapi/proxy/file_chooser_resource.cc ('k') | remoting/host/setup/daemon_controller_delegate_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/backend/cups_helper.cc
diff --git a/printing/backend/cups_helper.cc b/printing/backend/cups_helper.cc
index 5636f089476e9549fc702d4e7dd5ab06d13f3198..6a0e220c801162ba1e39202fb1d3a80c68f51df2 100644
--- a/printing/backend/cups_helper.cc
+++ b/printing/backend/cups_helper.cc
@@ -62,7 +62,7 @@ void ParseLpOptions(const base::FilePath& filepath,
continue;
}
- TrimWhitespaceASCII(line, TRIM_ALL, &line);
+ base::TrimWhitespaceASCII(line, base::TRIM_ALL, &line);
if (line.empty())
continue;
@@ -80,7 +80,8 @@ void ParseLpOptions(const base::FilePath& filepath,
}
line = line.substr(space_found + 1);
- TrimWhitespaceASCII(line, TRIM_ALL, &line); // Remove extra spaces.
+ // Remove extra spaces.
+ base::TrimWhitespaceASCII(line, base::TRIM_ALL, &line);
if (line.empty())
continue;
// Parse the selected printer custom options.
« no previous file with comments | « ppapi/proxy/file_chooser_resource.cc ('k') | remoting/host/setup/daemon_controller_delegate_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698