diff options
author | mmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-14 21:02:31 +0000 |
---|---|---|
committer | mmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-14 21:02:31 +0000 |
commit | 3aa4af04f4b8ba653e135d01988edcc783f296d7 (patch) | |
tree | 6014e603e7a3fbbc0fdb0ada6a51874e4a0814fb /net/socket/ssl_error_params.h | |
parent | 3031d8b7c9db7d26ce73961b8cb3b4ce125d6bc4 (diff) | |
download | chromium_src-3aa4af04f4b8ba653e135d01988edcc783f296d7.zip chromium_src-3aa4af04f4b8ba653e135d01988edcc783f296d7.tar.gz chromium_src-3aa4af04f4b8ba653e135d01988edcc783f296d7.tar.bz2 |
NetLogEventParameter to Callback refactoring 9.
Get rid of all uses of NetLogEventParameters in
net/socket.
R=eroman@chromium.org
BUG=126243
Review URL: https://chromiumcodereview.appspot.com/10546162
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142224 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/ssl_error_params.h')
-rw-r--r-- | net/socket/ssl_error_params.h | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/net/socket/ssl_error_params.h b/net/socket/ssl_error_params.h index a623b3fd..ad26e56 100644 --- a/net/socket/ssl_error_params.h +++ b/net/socket/ssl_error_params.h @@ -10,20 +10,9 @@ namespace net { -// Extra parameters to attach to the NetLog when we receive an SSL error. -class SSLErrorParams : public NetLog::EventParameters { - public: - SSLErrorParams(int net_error, int ssl_lib_error); - - virtual base::Value* ToValue() const OVERRIDE; - - protected: - virtual ~SSLErrorParams(); - - private: - const int net_error_; - const int ssl_lib_error_; -}; +// Creates NetLog callback for when we receive an SSL error. +NetLog::ParametersCallback CreateNetLogSSLErrorCallback(int net_error, + int ssl_lib_error); } // namespace net |