Index: base/ios/device_util.h |
diff --git a/base/ios/device_util.h b/base/ios/device_util.h |
index 93100da4b6c3ef37e09a525ccb56c01c23d9fb21..4e69efc39ca9d7f666501782698ee1507ec8dbcd 100644 |
--- a/base/ios/device_util.h |
+++ b/base/ios/device_util.h |
@@ -72,6 +72,12 @@ std::string GetRandomId(); |
// something that should be anonymous, you should probably pass NULL. |
std::string GetDeviceIdentifier(const char* salt); |
+// Returns a hashed version of |in_string| using |salt| (which must not |
+// zero-length). Different salt values should result in differently hashed |
+// strings. |
+std::string GetSaltedString(const std::string& in_string, |
+ const std::string& salt); |
+ |
} // namespace device_util |
} // namespace ios |