Index: components/crx_file/id_util.h |
diff --git a/components/crx_file/id_util.h b/components/crx_file/id_util.h |
index 4463ff15b77442a2163a9dc02f88b4fee6c4b3da..bd11d96db31bf643d95024c86781c18d78e67e37 100644 |
--- a/components/crx_file/id_util.h |
+++ b/components/crx_file/id_util.h |
@@ -21,11 +21,14 @@ extern const size_t kIdSize; |
// always generate the same output ID. |
std::string GenerateId(const std::string& input); |
-// Generate an ID for an extension in the given path. |
+// Generates an ID for an extension in the given path. |
// Used while developing extensions, before they have a key. |
std::string GenerateIdForPath(const base::FilePath& path); |
-// Normalize the path for use by the extension. On Windows, this will make |
+// Returns the hash of an extension ID in hex. |
+std::string HashedIdInHex(const std::string& id); |
+ |
+// Normalizes the path for use by the extension. On Windows, this will make |
// sure the drive letter is uppercase. |
base::FilePath MaybeNormalizePath(const base::FilePath& path); |