Remove uses of scoped_ptr_malloc.

Change-Id: I355fcfc93e8d689bea8b9388423ca12cb3e6566f
diff --git a/src/utils.h b/src/utils.h
index 4b3e57e..3a6f404 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -8,6 +8,9 @@
 #include "stringpiece.h"
 #include "stringprintf.h"
 
+#include <string>
+#include <vector>
+
 namespace art {
 
 class Field;
@@ -170,6 +173,10 @@
 // Returns the current date in ISO yyyy-mm-dd hh:mm:ss format.
 std::string GetIsoDate();
 
+// Splits a string using the given delimiter character into a vector of
+// strings. Empty strings will be omitted.
+void Split(const std::string& s, char delim, std::vector<std::string>& result);
+
 }  // namespace art
 
 #endif  // ART_SRC_UTILS_H_