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

Unified Diff: chrome/browser/chromeos/system/syslogs_provider.cc

Issue 102843002: Move RemoveChars, ReplaceChars, TrimString, and TruncateUTF8ToByteSize to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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: chrome/browser/chromeos/system/syslogs_provider.cc
diff --git a/chrome/browser/chromeos/system/syslogs_provider.cc b/chrome/browser/chromeos/system/syslogs_provider.cc
index 5cbba5dcff86a6fd4aab50b299b0100b27b1f75b..3b38b808ae42ea59dc2bf71c1e84c284dc979b10 100644
--- a/chrome/browser/chromeos/system/syslogs_provider.cc
+++ b/chrome/browser/chromeos/system/syslogs_provider.cc
@@ -79,7 +79,7 @@ std::string ReadValue(std::string* data) {
//
// If we use TrimWhitespace, we will incorrectly trim the new line
// and assume that KEY1's value is "KEY2=VALUE" rather than empty.
- TrimString(*data, " \t", data);
+ base::TrimString(*data, " \t", data);
// If multiline value
if (StartsWithASCII(*data, std::string(kMultilineQuote), false)) {

Powered by Google App Engine
This is Rietveld 408576698