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

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

Issue 7259019: Move base/values.h into the base namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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/ssl_client_socket_pool.h ('k') | net/socket/transport_client_socket_pool.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_SOCKET_SSL_ERROR_PARAMS_H_ 5 #ifndef NET_SOCKET_SSL_ERROR_PARAMS_H_
6 #define NET_SOCKET_SSL_ERROR_PARAMS_H_ 6 #define NET_SOCKET_SSL_ERROR_PARAMS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "net/base/net_log.h" 9 #include "net/base/net_log.h"
10 10
11 namespace net { 11 namespace net {
12 12
13 // Extra parameters to attach to the NetLog when we receive an SSL error. 13 // Extra parameters to attach to the NetLog when we receive an SSL error.
14 class SSLErrorParams : public NetLog::EventParameters { 14 class SSLErrorParams : public NetLog::EventParameters {
15 public: 15 public:
16 SSLErrorParams(int net_error, int ssl_lib_error); 16 SSLErrorParams(int net_error, int ssl_lib_error);
17 virtual ~SSLErrorParams(); 17 virtual ~SSLErrorParams();
18 18
19 virtual Value* ToValue() const; 19 virtual base::Value* ToValue() const;
20 20
21 private: 21 private:
22 const int net_error_; 22 const int net_error_;
23 const int ssl_lib_error_; 23 const int ssl_lib_error_;
24 }; 24 };
25 25
26 } // namespace net 26 } // namespace net
27 27
28 #endif // NET_SOCKET_SSL_ERROR_PARAMS_H_ 28 #endif // NET_SOCKET_SSL_ERROR_PARAMS_H_
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket_pool.h ('k') | net/socket/transport_client_socket_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698