mirror of
https://github.com/servo/servo.git
synced 2025-08-08 23:15:33 +01:00
Add blob loader
This commit is contained in:
parent
1bc94c132e
commit
679cf0a5e2
6 changed files with 191 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
|
||||
use ipc_channel::ipc::IpcSender;
|
||||
use std::path::PathBuf;
|
||||
use super::{LoadConsumer, LoadData};
|
||||
use uuid::Uuid;
|
||||
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
|
@ -29,6 +30,9 @@ pub enum FileManagerThreadMsg {
|
|||
/// Delete the FileID entry
|
||||
DeleteFileID(Uuid),
|
||||
|
||||
/// Load resource by Blob URL
|
||||
LoadBlob(LoadData, LoadConsumer),
|
||||
|
||||
/// Shut down this thread
|
||||
Exit,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue