diff options
author | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-13 06:16:36 +0000 |
---|---|---|
committer | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-13 06:16:36 +0000 |
commit | a809f9001fd8f66087c6879fb56600c038cfc5fa (patch) | |
tree | a624823759159399d153b8a61eb99bb87ebfa28d /net/base | |
parent | d79a982f4bae3718457555dea55d9a9144b043fc (diff) | |
download | chromium_src-a809f9001fd8f66087c6879fb56600c038cfc5fa.zip chromium_src-a809f9001fd8f66087c6879fb56600c038cfc5fa.tar.gz chromium_src-a809f9001fd8f66087c6879fb56600c038cfc5fa.tar.bz2 |
Emit an event to NetLog whenever the proxy settings change.
Also removes the operator<< on ProxyConfig.
BUG=52004
Review URL: http://codereview.chromium.org/3144008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55999 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r-- | net/base/net_log_event_type_list.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net/base/net_log_event_type_list.h b/net/base/net_log_event_type_list.h index 2a7afeb..f729c2d 100644 --- a/net/base/net_log_event_type_list.h +++ b/net/base/net_log_event_type_list.h @@ -91,6 +91,19 @@ EVENT_TYPE(PROXY_SERVICE_WAITING_FOR_INIT_PAC) // } EVENT_TYPE(PROXY_SERVICE_RESOLVED_PROXY_LIST) +// This event is emitted whenever the proxy settings used by ProxyService +// change. +// +// It contains these parameters: +// { +// "old_config": <Dump of the previous proxy settings>, +// "new_config": <Dump of the new proxy settings> +// } +// +// Note that the "old_config" key will be omitted on the first fetch of the +// proxy settings (since there wasn't a previous value). +EVENT_TYPE(PROXY_CONFIG_CHANGED) + // ------------------------------------------------------------------------ // Proxy Resolver // ------------------------------------------------------------------------ |