Index: tools/gn/string_utils.h |
diff --git a/tools/gn/string_utils.h b/tools/gn/string_utils.h |
index a405cc5e0199c0a2f2c578da0d763a657760c868..07be4c856e4708cda02b6a7fd5aa466f0dc3a03d 100644 |
--- a/tools/gn/string_utils.h |
+++ b/tools/gn/string_utils.h |
@@ -35,22 +35,4 @@ bool ExpandStringLiteral(Scope* scope, |
Value* result, |
Err* err); |
-// Removes the given prefix from the string. Asserts if the string does |
-// not have the given prefix. |
-// |
-// Note: could potentially return a StringPiece into the str. |
-std::string RemovePrefix(const std::string& str, const std::string& prefix); |
tfarina
2015/12/01 19:53:44
I found this because I was interested on RemovePre
|
- |
-// Appends the given string piece to the given string. This avoids an |
-// intermediate copy. |
-inline void AppendStringPiece(std::string* dest, |
- const base::StringPiece& piece) { |
- dest->append(piece.data(), piece.size()); |
-} |
- |
-// Removes the trailing slash from the given string. This asserts that either |
-// the string is empty or it ends with a slash (normally used to process |
-// directories). |
-void TrimTrailingSlash(std::string* str); |
- |
#endif // TOOLS_GN_STRING_UTILS_H_ |