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

Unified Diff: sync/engine/commit_util.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: sync/engine/commit_util.cc
diff --git a/sync/engine/commit_util.cc b/sync/engine/commit_util.cc
index 701e33532b87c61956f4a5debe5905983293fd11..1081446b7a8a065b02cc42619a7ca71f83bd4889 100644
--- a/sync/engine/commit_util.cc
+++ b/sync/engine/commit_util.cc
@@ -105,7 +105,7 @@ void BuildCommitItem(
// Note: Truncation is also performed in WriteNode::SetTitle(..). But this
// call is still necessary to handle any title changes that might originate
// elsewhere, or already be persisted in the directory.
- TruncateUTF8ToByteSize(name, 255, &name);
+ base::TruncateUTF8ToByteSize(name, 255, &name);
sync_entry->set_name(name);
// Set the non_unique_name. If we do, the server ignores

Powered by Google App Engine
This is Rietveld 408576698