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

Unified Diff: base/strings/string_util.h

Issue 2201763002: Switch on use_new_wrapper_types mode for content/common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months 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
« no previous file with comments | « no previous file | base/strings/string_util.cc » ('j') | content/browser/leveldb_wrapper_impl.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/strings/string_util.h
diff --git a/base/strings/string_util.h b/base/strings/string_util.h
index 31c900362d57557e10edcc73e072a5647e0e8853..6ea45fa70cc52fd16709bf96e1eeba5115220128 100644
--- a/base/strings/string_util.h
+++ b/base/strings/string_util.h
@@ -456,6 +456,12 @@ BASE_EXPORT string16 ReplaceStringPlaceholders(const string16& format_string,
const string16& a,
size_t* offset);
+BASE_EXPORT extern string16 Uint8VectorToString16(
+ const std::vector<uint8_t>& input);
+
+BASE_EXPORT extern std::vector<uint8_t> String16ToUint8Vector(
+ const string16& input);
+
} // namespace base
#if defined(OS_WIN)
« no previous file with comments | « no previous file | base/strings/string_util.cc » ('j') | content/browser/leveldb_wrapper_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698