mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
libservo: Export CookieSource in public API (#44124)
Fixes: #44102 Signed-off-by: Kelechi Ebiri <ebiritg@gmail.com>
This commit is contained in:
@@ -40,6 +40,7 @@ pub use keyboard_types::{
|
||||
pub use media::{
|
||||
GlApi as MediaGlApi, GlContext as MediaGlContext, NativeDisplay as MediaNativeDisplay,
|
||||
};
|
||||
pub use net_traits::CookieSource;
|
||||
// This API should probably not be exposed in this way. Instead there should be a fully
|
||||
// fleshed out public domains API if we want to expose it.
|
||||
pub use net_traits::pub_domains::is_reg_domain;
|
||||
|
||||
@@ -6,13 +6,15 @@ use bitflags::bitflags;
|
||||
use cookie::Cookie;
|
||||
use log::warn;
|
||||
use net_traits::pub_domains::registered_domain_name;
|
||||
use net_traits::{CookieSource, ResourceThreads, SiteDescriptor};
|
||||
use net_traits::{ResourceThreads, SiteDescriptor};
|
||||
use rustc_hash::FxHashMap;
|
||||
use servo_url::ServoUrl;
|
||||
use storage_traits::StorageThreads;
|
||||
use storage_traits::webstorage_thread::{OriginDescriptor, WebStorageType};
|
||||
use url::Url;
|
||||
|
||||
use crate::CookieSource;
|
||||
|
||||
bitflags! {
|
||||
/// Identifies categories of site data associated with a site.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user