Last active
April 8, 2020 14:30
-
-
Save gterzian/56aa2ffb72090aeed4e0774865319a60 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// Content process entry point, contains init of service worker manager. | |
pub fn run_content_process(token: String) { | |
// Same stuff as before here... | |
// send the required channels to the service worker manager | |
let sw_senders = unprivileged_content.swmanager_senders(); | |
script::init_service_workers(sw_senders); | |
unprivileged_content.start_all(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment