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

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

Issue 6805019: Move crypto files out of base, to a top level directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fixes comments by eroman Created 9 years, 8 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/ssl_client_socket_openssl.cc » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // This file includes code SSLClientSocketNSS::DoVerifyCertComplete() derived 5 // This file includes code SSLClientSocketNSS::DoVerifyCertComplete() derived
6 // from AuthCertificateCallback() in 6 // from AuthCertificateCallback() in
7 // mozilla/security/manager/ssl/src/nsNSSCallbacks.cpp. 7 // mozilla/security/manager/ssl/src/nsNSSCallbacks.cpp.
8 8
9 /* ***** BEGIN LICENSE BLOCK ***** 9 /* ***** BEGIN LICENSE BLOCK *****
10 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 10 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 #include <sslproto.h> 61 #include <sslproto.h>
62 62
63 #include <algorithm> 63 #include <algorithm>
64 #include <limits> 64 #include <limits>
65 #include <map> 65 #include <map>
66 66
67 #include "base/compiler_specific.h" 67 #include "base/compiler_specific.h"
68 #include "base/logging.h" 68 #include "base/logging.h"
69 #include "base/memory/singleton.h" 69 #include "base/memory/singleton.h"
70 #include "base/metrics/histogram.h" 70 #include "base/metrics/histogram.h"
71 #include "base/nss_util.h"
72 #include "base/string_number_conversions.h" 71 #include "base/string_number_conversions.h"
73 #include "base/string_util.h" 72 #include "base/string_util.h"
74 #include "base/stringprintf.h" 73 #include "base/stringprintf.h"
75 #include "base/threading/thread_restrictions.h" 74 #include "base/threading/thread_restrictions.h"
76 #include "base/values.h" 75 #include "base/values.h"
77 #include "net/base/address_list.h" 76 #include "net/base/address_list.h"
78 #include "net/base/cert_status_flags.h" 77 #include "net/base/cert_status_flags.h"
79 #include "net/base/cert_verifier.h" 78 #include "net/base/cert_verifier.h"
80 #include "net/base/connection_type_histograms.h" 79 #include "net/base/connection_type_histograms.h"
81 #include "net/base/dns_util.h" 80 #include "net/base/dns_util.h"
(...skipping 2174 matching lines...) Expand 10 before | Expand all | Expand 10 after
2256 valid_thread_id_ = base::PlatformThread::CurrentId(); 2255 valid_thread_id_ = base::PlatformThread::CurrentId();
2257 } 2256 }
2258 2257
2259 bool SSLClientSocketNSS::CalledOnValidThread() const { 2258 bool SSLClientSocketNSS::CalledOnValidThread() const {
2260 EnsureThreadIdAssigned(); 2259 EnsureThreadIdAssigned();
2261 base::AutoLock auto_lock(lock_); 2260 base::AutoLock auto_lock(lock_);
2262 return valid_thread_id_ == base::PlatformThread::CurrentId(); 2261 return valid_thread_id_ == base::PlatformThread::CurrentId();
2263 } 2262 }
2264 2263
2265 } // namespace net 2264 } // namespace net
OLDNEW
« no previous file with comments | « net/socket/nss_ssl_util.cc ('k') | net/socket/ssl_client_socket_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698