Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(536)

Unified Diff: net/socket/ssl_error_params.h

Issue 10546162: NetLogEventParameter to Callback refactoring 9. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Update comment Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/socket/ssl_error_params.h
===================================================================
--- net/socket/ssl_error_params.h (revision 142108)
+++ net/socket/ssl_error_params.h (working copy)
@@ -10,21 +10,10 @@
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);
+// Creates NetLog callback for when we receive an SSL error.
+NetLog::ParametersCallback CreateNetLogSSLErrorCallback(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_;
-};
-
} // namespace net
#endif // NET_SOCKET_SSL_ERROR_PARAMS_H_

Powered by Google App Engine
This is Rietveld 408576698