mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
Privatize the chrome_loader module.
This commit is contained in:
parent
a888f075a1
commit
88285b6534
2 changed files with 3 additions and 2 deletions
|
@ -49,7 +49,7 @@ extern crate websocket;
|
|||
|
||||
mod about_loader;
|
||||
mod blob_loader;
|
||||
pub mod chrome_loader;
|
||||
mod chrome_loader;
|
||||
mod connector;
|
||||
mod content_blocker;
|
||||
pub mod cookie;
|
||||
|
@ -73,6 +73,7 @@ pub mod fetch {
|
|||
|
||||
/// A module for re-exports of items used in unit tests.
|
||||
pub mod test {
|
||||
pub use chrome_loader::resolve_chrome_url;
|
||||
pub use http_loader::{HttpRequest, HttpRequestFactory, HttpResponse, HttpState};
|
||||
pub use http_loader::{LoadError, LoadErrorType, UIProvider, load};
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use net::chrome_loader::resolve_chrome_url;
|
||||
use net::test::resolve_chrome_url;
|
||||
use url::Url;
|
||||
|
||||
fn c(s: &str) -> Result<Url, ()> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue