Index: sandbox/src/sandbox_utils.h |
=================================================================== |
--- sandbox/src/sandbox_utils.h (revision 107404) |
+++ sandbox/src/sandbox_utils.h (working copy) |
@@ -33,18 +33,6 @@ |
void InitObjectAttribs(const std::wstring& name, ULONG attributes, HANDLE root, |
OBJECT_ATTRIBUTES* obj_attr, UNICODE_STRING* uni_name); |
-// The next 2 functions are copied from base\string_util.h and have been |
-// slighty modified because we don't want to depend on ICU. |
-template <class string_type> |
-inline typename string_type::value_type* WriteInto(string_type* str, |
- size_t length_with_null) { |
- str->reserve(length_with_null); |
- str->resize(length_with_null - 1); |
- return &((*str)[0]); |
-} |
- |
-std::string WideToMultiByte(const std::wstring& wide); |
- |
}; // namespace sandbox |
#endif // SANDBOX_SRC_SANDBOX_UTILS_H__ |