Last active
April 8, 2020 14:32
-
-
Save gterzian/33f90e6be931e48b1000c9fcddae440d 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. | |
pub fn run_content_process(token: String) { | |
// Same stuff as before here... | |
let unprivileged_content = unprivileged_content_receiver.recv().unwrap(); | |
match unprivileged_content { | |
UnprivilegedContent::Pipeline(mut content) => { | |
content.start_all(); | |
}, | |
UnprivilegedContent::ServiceWorker(content) => { | |
content.start(); | |
}, | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment