mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
create uuid before sending PromoteMemory message
This commit is contained in:
parent
34fda66dfa
commit
d9beca6fec
4 changed files with 20 additions and 56 deletions
|
@ -137,14 +137,8 @@ pub enum FileManagerThreadMsg {
|
|||
FileOrigin,
|
||||
),
|
||||
|
||||
/// Add an entry as promoted memory-based blob and send back the associated FileID
|
||||
/// as part of a valid/invalid Blob URL depending on the boolean flag
|
||||
PromoteMemory(
|
||||
BlobBuf,
|
||||
bool,
|
||||
IpcSender<Result<Uuid, BlobURLStoreError>>,
|
||||
FileOrigin,
|
||||
),
|
||||
/// Add an entry as promoted memory-based blob
|
||||
PromoteMemory(Uuid, BlobBuf, bool, FileOrigin),
|
||||
|
||||
/// Add a sliced entry pointing to the parent FileID, and send back the associated FileID
|
||||
/// as part of a valid Blob URL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue