OLD | NEW |
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 #include "net/base/cert_verifier.h" | 5 #include "net/base/cert_verifier.h" |
6 | 6 |
7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
9 #include "base/stl_util-inl.h" | 9 #include "base/stl_util.h" |
10 #include "base/synchronization/lock.h" | 10 #include "base/synchronization/lock.h" |
11 #include "base/threading/worker_pool.h" | 11 #include "base/threading/worker_pool.h" |
12 #include "net/base/net_errors.h" | 12 #include "net/base/net_errors.h" |
13 #include "net/base/x509_certificate.h" | 13 #include "net/base/x509_certificate.h" |
14 | 14 |
15 #if defined(USE_NSS) | 15 #if defined(USE_NSS) |
16 #include <private/pprthred.h> // PR_DetachThread | 16 #include <private/pprthred.h> // PR_DetachThread |
17 #endif | 17 #endif |
18 | 18 |
19 namespace net { | 19 namespace net { |
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
497 cur_request_ = NULL; | 497 cur_request_ = NULL; |
498 cur_request_callback_ = NULL; | 498 cur_request_callback_ = NULL; |
499 | 499 |
500 // Call the user's original callback. | 500 // Call the user's original callback. |
501 callback->Run(result); | 501 callback->Run(result); |
502 } | 502 } |
503 | 503 |
504 } // namespace net | 504 } // namespace net |
505 | 505 |
506 DISABLE_RUNNABLE_METHOD_REFCOUNT(net::CertVerifierWorker); | 506 DISABLE_RUNNABLE_METHOD_REFCOUNT(net::CertVerifierWorker); |
OLD | NEW |