Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Privatize most of the net crate. #14063

Merged
merged 3 commits into from Nov 6, 2016
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

Privatize the chrome_loader module.

  • Loading branch information
Ms2ger committed Nov 6, 2016
commit 88285b6534da7dab2cf96d2c00a125f109d7a359
@@ -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, ()> {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.