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

Unified 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: 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/socket_error_params.h
===================================================================
--- net/socket/socket_error_params.h (revision 142108)
+++ net/socket/socket_error_params.h (working copy)
@@ -1,30 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef NET_SOCKET_SOCKET_ERROR_PARAMS_H_
-#define NET_SOCKET_SOCKET_ERROR_PARAMS_H_
-#pragma once
-
-#include "net/base/net_log.h"
-
-namespace net {
-
-// Extra parameters to attach to the NetLog when we receive a socket error.
-class SocketErrorParams : public NetLog::EventParameters {
- public:
- SocketErrorParams(int net_error, int os_error);
-
- virtual base::Value* ToValue() const OVERRIDE;
-
- protected:
- virtual ~SocketErrorParams();
-
- private:
- const int net_error_;
- const int os_error_;
-};
-
-} // namespace net
-
-#endif // NET_SOCKET_SOCKET_ERROR_PARAMS_H_

Powered by Google App Engine
This is Rietveld 408576698