mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Add a FileManager to FetchContext.
This commit is contained in:
parent
d820387758
commit
fc68e0a6ca
4 changed files with 66 additions and 38 deletions
|
@ -10,9 +10,9 @@ use std::fs::File;
|
|||
use std::io::Read;
|
||||
use std::path::PathBuf;
|
||||
|
||||
const TEST_PROVIDER: &'static TestProvider = &TestProvider;
|
||||
pub const TEST_PROVIDER: &'static TestProvider = &TestProvider;
|
||||
|
||||
struct TestProvider;
|
||||
pub struct TestProvider;
|
||||
|
||||
impl UIProvider for TestProvider {
|
||||
fn open_file_dialog(&self, _path: &str, _patterns: Vec<FilterPattern>) -> Option<String> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue