mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add CefSettings.auto_detect_proxy_settings_enabled option for enabling automatic proxy detection on Windows (issue #332).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@337 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -151,6 +151,15 @@ typedef struct _cef_settings_t
|
||||
// Quota limit for sessionStorage data per namespace. Default size is 5MB.
|
||||
///
|
||||
unsigned int session_storage_quota;
|
||||
|
||||
#if defined(OS_WIN)
|
||||
///
|
||||
// Set to true (1) to use the system proxy resolver on Windows when
|
||||
// "Automatically detect settings" is checked. This setting is disabled
|
||||
// by default for performance reasons.
|
||||
///
|
||||
bool auto_detect_proxy_settings_enabled;
|
||||
#endif
|
||||
} cef_settings_t;
|
||||
|
||||
///
|
||||
|
@@ -281,6 +281,13 @@ struct CefSettingsTraits {
|
||||
copy);
|
||||
target->log_severity = src->log_severity;
|
||||
target->graphics_implementation = src->graphics_implementation;
|
||||
target->local_storage_quota = src->local_storage_quota;
|
||||
target->session_storage_quota = src->session_storage_quota;
|
||||
|
||||
#if defined(OS_WIN)
|
||||
target->auto_detect_proxy_settings_enabled =
|
||||
src->auto_detect_proxy_settings_enabled;
|
||||
#endif
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user