Privatize the chrome_loader module.

This commit is contained in:
Ms2ger 2016-11-04 12:10:53 +01:00
parent a888f075a1
commit 88285b6534
2 changed files with 3 additions and 2 deletions

View file

@ -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};
}

View file

@ -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, ()> {