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

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

Issue 3845005: Add support for restricting the cipher suites that SSLClientSocket(Mac,NSS) use (Closed)
Patch Set: Upload before commit Created 10 years, 1 month 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
« net/base/ssl_config_service.h ('K') | « net/socket/ssl_error_params.h ('k') | no next file » | 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) 2010 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 #include "net/socket/ssl_error_params.h"
6
7 #include "base/values.h"
8
9 namespace net {
10
11 SSLErrorParams::SSLErrorParams(int net_error, int ssl_lib_error)
12 : net_error_(net_error), ssl_lib_error_(ssl_lib_error) {}
13
14 SSLErrorParams::~SSLErrorParams() {}
15
16 Value* SSLErrorParams::ToValue() const {
17 DictionaryValue* dict = new DictionaryValue();
18 dict->SetInteger("net_error", net_error_);
19 if (ssl_lib_error_)
20 dict->SetInteger("ssl_lib_error", ssl_lib_error_);
21 return dict;
22 }
23
24 } // namespace net
OLDNEW
« net/base/ssl_config_service.h ('K') | « net/socket/ssl_error_params.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698