summaryrefslogtreecommitdiffstats
path: root/net/ocsp
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-15 00:21:34 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-15 00:21:34 +0000
commitaeb53f0e2f6352ec7fbc2113270a97072b42c764 (patch)
tree1f4da7884df919c21903a7881964273a9f7496fd /net/ocsp
parentec8962ca7de01eb5685b32a4361dd7be8f7e6293 (diff)
downloadchromium_src-aeb53f0e2f6352ec7fbc2113270a97072b42c764.zip
chromium_src-aeb53f0e2f6352ec7fbc2113270a97072b42c764.tar.gz
chromium_src-aeb53f0e2f6352ec7fbc2113270a97072b42c764.tar.bz2
net: Remove typedef net::URLRequestContext URLRequestContext;
BUG=64263 TEST=compiled locally, trybots Review URL: http://codereview.chromium.org/6338002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71522 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/ocsp')
-rw-r--r--net/ocsp/nss_ocsp.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/ocsp/nss_ocsp.cc b/net/ocsp/nss_ocsp.cc
index 78eb7f5..d541370 100644
--- a/net/ocsp/nss_ocsp.cc
+++ b/net/ocsp/nss_ocsp.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
@@ -39,7 +39,7 @@ namespace {
// Protects |g_request_context|.
pthread_mutex_t g_request_context_lock = PTHREAD_MUTEX_INITIALIZER;
-static URLRequestContext* g_request_context = NULL;
+static net::URLRequestContext* g_request_context = NULL;
class OCSPRequestSession;
@@ -349,7 +349,7 @@ class OCSPRequestSession
DCHECK(!request_);
pthread_mutex_lock(&g_request_context_lock);
- URLRequestContext* url_request_context = g_request_context;
+ net::URLRequestContext* url_request_context = g_request_context;
pthread_mutex_unlock(&g_request_context_lock);
if (url_request_context == NULL)
@@ -575,7 +575,7 @@ SECStatus OCSPCreateSession(const char* host, PRUint16 portnum,
SEC_HTTP_SERVER_SESSION* pSession) {
VLOG(1) << "OCSP create session: host=" << host << " port=" << portnum;
pthread_mutex_lock(&g_request_context_lock);
- URLRequestContext* request_context = g_request_context;
+ net::URLRequestContext* request_context = g_request_context;
pthread_mutex_unlock(&g_request_context_lock);
if (request_context == NULL) {
LOG(ERROR) << "No URLRequestContext for OCSP handler.";