Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ public CefSettingsBase() { }
public string CachePath { get { throw null; } set { } }
public CefSharp.Internals.CommandLineArgDictionary CefCommandLineArgs { get { throw null; } }
public System.Collections.Generic.IEnumerable<CefSharp.CefCustomScheme> CefCustomSchemes { get { throw null; } }
public string ChromePolicyId { get { throw null; } set { } }
public bool CommandLineArgsDisabled { get { throw null; } set { } }
public bool CookieableSchemesExcludeDefaults { get { throw null; } set { } }
public string CookieableSchemesList { get { throw null; } set { } }
Expand Down
9 changes: 9 additions & 0 deletions CefSharp.Core.Runtime/CefSettingsBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,15 @@ namespace CefSharp
void set(bool value) { _cefSettings->cookieable_schemes_exclude_defaults = value; }
}

/// <summary>
/// The Chrome policy ID. This value is used to configure managed policies.
/// </summary>
property String^ ChromePolicyId
{
String^ get() { return StringUtils::ToClr(_cefSettings->chrome_policy_id); }
void set(String^ value) { StringUtils::AssignNativeFromClr(_cefSettings->chrome_policy_id, value); }
}

/// <summary>
/// Registers a custom scheme using the provided settings.
/// </summary>
Expand Down
9 changes: 9 additions & 0 deletions CefSharp.Core/CefSettingsBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,15 @@ public bool CookieableSchemesExcludeDefaults
set { settings.CookieableSchemesExcludeDefaults = value; }
}

/// <summary>
/// The Chrome policy ID. This value is used to configure chrome enterprise policies.
/// </summary>
public string ChromePolicyId
{
get { return settings.ChromePolicyId; }
set { settings.ChromePolicyId = value; }
}

/// <summary>
/// Registers a custom scheme using the provided settings.
/// </summary>
Expand Down