diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-09 13:43:24 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-09 13:43:24 +0000 |
commit | 08aca388ea2905eaf524e227cd0cda8d9fbba79c (patch) | |
tree | 2b73d2a2864ab40c07efb71965136a16f50a89bb /net/proxy | |
parent | 909c2404d3ec37ac6d107d609511168367d8c7ea (diff) | |
download | chromium_src-08aca388ea2905eaf524e227cd0cda8d9fbba79c.zip chromium_src-08aca388ea2905eaf524e227cd0cda8d9fbba79c.tar.gz chromium_src-08aca388ea2905eaf524e227cd0cda8d9fbba79c.tar.bz2 |
Documentation for ProxyResolverErrorObserver
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6932065
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84611 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy')
-rw-r--r-- | net/proxy/proxy_resolver_error_observer.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net/proxy/proxy_resolver_error_observer.h b/net/proxy/proxy_resolver_error_observer.h index 10c5106..3bc8f62 100644 --- a/net/proxy/proxy_resolver_error_observer.h +++ b/net/proxy/proxy_resolver_error_observer.h @@ -11,12 +11,18 @@ namespace net { -// Interface for observing JavaScript error messages from PAC scripts. +// Interface for observing JavaScript error messages from PAC scripts. The +// default implementation of the ProxyResolverJSBindings takes a class +// implementing this interface and forwards all JavaScript errors related to +// PAC scripts. class ProxyResolverErrorObserver { public: ProxyResolverErrorObserver() {} virtual ~ProxyResolverErrorObserver() {} + // Handler for when an error is encountered. |line_number| may be -1 + // if a line number is not applicable to this error. |error| is a message + // describing the error. virtual void OnPACScriptError(int line_number, const string16& error) = 0; private: |