16 lines
354 B
Rust
16 lines
354 B
Rust
use crate::browser::BrowserSettings;
|
|
|
|
use super::ChromeVersion;
|
|
|
|
mod v104;
|
|
mod v105;
|
|
mod v106;
|
|
|
|
pub(super) fn get_config_from_ver(ver: ChromeVersion) -> BrowserSettings {
|
|
match ver {
|
|
ChromeVersion::V104 => v104::get_settings(),
|
|
ChromeVersion::V105 => v105::get_settings(),
|
|
ChromeVersion::V106 => v106::get_settings(),
|
|
}
|
|
}
|