Move logers into seperate logger files

Constellation seems to have lots of code that could be moved into
seperate files. `FromScriptLogger` and `FromCompositorLogger` seem
to qualify for that.
Moved FromScriptLogger and FromScriptLogger to logger file.
This commit is contained in:
Rakhi Sharma 2023-04-29 12:40:25 +02:00 committed by Martin Robinson
parent 06873da566
commit 7d7abef602
4 changed files with 130 additions and 114 deletions

View file

@ -14,6 +14,7 @@ extern crate serde;
mod browsingcontext;
mod constellation;
mod event_loop;
mod logging;
mod network_listener;
mod pipeline;
mod sandboxing;
@ -21,8 +22,7 @@ mod serviceworker;
mod session_history;
mod timer_scheduler;
pub use crate::constellation::{
Constellation, FromCompositorLogger, FromScriptLogger, InitialConstellationState,
};
pub use crate::constellation::{Constellation, InitialConstellationState};
pub use crate::logging::{FromCompositorLogger, FromScriptLogger};
pub use crate::pipeline::UnprivilegedPipelineContent;
pub use crate::sandboxing::{content_process_sandbox_profile, UnprivilegedContent};