mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:37:34 +00:00
LibWeb: Move code that generates uuid into separate function
Make possible to generate uuid without having crypto class instance.
This commit is contained in:
parent
12cd74495a
commit
e8550ed21d
2 changed files with 21 additions and 12 deletions
|
@ -35,4 +35,6 @@ private:
|
|||
JS::GCPtr<SubtleCrypto> m_subtle;
|
||||
};
|
||||
|
||||
ErrorOr<String> generate_random_uuid();
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue