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

Unified Diff: chrome/browser/feedback/feedback_data.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/feedback/feedback_data.cc
diff --git a/chrome/browser/feedback/feedback_data.cc b/chrome/browser/feedback/feedback_data.cc
index 365fbbe788c2c389ab9a58817153c2a7bb2db661..e5dde6a12b084bb961ee8ec0d95b4ae9644e661d 100644
--- a/chrome/browser/feedback/feedback_data.cc
+++ b/chrome/browser/feedback/feedback_data.cc
@@ -56,8 +56,8 @@ std::string LogsToString(const FeedbackData::SystemLogsMap& sys_info) {
if (FeedbackData::BelowCompressionThreshold(value))
continue;
- TrimString(key, "\n ", &key);
- TrimString(value, "\n ", &value);
+ base::TrimString(key, "\n ", &key);
+ base::TrimString(value, "\n ", &value);
if (value.find("\n") != std::string::npos) {
syslogs_string.append(

Powered by Google App Engine
This is Rietveld 408576698