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

Side by Side Diff: net/socket/socket_error_params.h

Issue 10546162: NetLogEventParameter to Callback refactoring 9. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Remove 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/socket/nss_ssl_util.cc ('k') | net/socket/socket_error_params.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NET_SOCKET_SOCKET_ERROR_PARAMS_H_
6 #define NET_SOCKET_SOCKET_ERROR_PARAMS_H_
7 #pragma once
8
9 #include "net/base/net_log.h"
10
11 namespace net {
12
13 // Extra parameters to attach to the NetLog when we receive a socket error.
14 class SocketErrorParams : public NetLog::EventParameters {
15 public:
16 SocketErrorParams(int net_error, int os_error);
17
18 virtual base::Value* ToValue() const OVERRIDE;
19
20 protected:
21 virtual ~SocketErrorParams();
22
23 private:
24 const int net_error_;
25 const int os_error_;
26 };
27
28 } // namespace net
29
30 #endif // NET_SOCKET_SOCKET_ERROR_PARAMS_H_
OLDNEW
« no previous file with comments | « net/socket/nss_ssl_util.cc ('k') | net/socket/socket_error_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698