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

Side by Side Diff: net/ocsp/nss_ocsp.cc

Issue 11268002: Fix places where "request" is misspelled "requst". Surprisingly, there are several. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 2 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 | « content/browser/histogram_synchronizer.h ('k') | net/spdy/spdy_session.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/ocsp/nss_ocsp.h" 5 #include "net/ocsp/nss_ocsp.h"
6 6
7 #include <certt.h> 7 #include <certt.h>
8 #include <certdb.h> 8 #include <certdb.h>
9 #include <ocsp.h> 9 #include <ocsp.h>
10 #include <nspr.h> 10 #include <nspr.h>
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 base::TimeDelta timeout_; // The timeout for OCSP 402 base::TimeDelta timeout_; // The timeout for OCSP
403 URLRequest* request_; // The actual request this wraps 403 URLRequest* request_; // The actual request this wraps
404 scoped_refptr<IOBuffer> buffer_; // Read buffer 404 scoped_refptr<IOBuffer> buffer_; // Read buffer
405 HttpRequestHeaders extra_request_headers_; 405 HttpRequestHeaders extra_request_headers_;
406 std::string upload_content_; // HTTP POST payload 406 std::string upload_content_; // HTTP POST payload
407 std::string upload_content_type_; // MIME type of POST payload 407 std::string upload_content_type_; // MIME type of POST payload
408 408
409 int response_code_; // HTTP status code for the request 409 int response_code_; // HTTP status code for the request
410 std::string response_content_type_; 410 std::string response_content_type_;
411 scoped_refptr<HttpResponseHeaders> response_headers_; 411 scoped_refptr<HttpResponseHeaders> response_headers_;
412 std::string data_; // Results of the requst 412 std::string data_; // Results of the request
413 413
414 // |lock_| protects |finished_| and |io_loop_|. 414 // |lock_| protects |finished_| and |io_loop_|.
415 mutable base::Lock lock_; 415 mutable base::Lock lock_;
416 base::ConditionVariable cv_; 416 base::ConditionVariable cv_;
417 417
418 MessageLoop* io_loop_; // Message loop of the IO thread 418 MessageLoop* io_loop_; // Message loop of the IO thread
419 bool finished_; 419 bool finished_;
420 420
421 DISALLOW_COPY_AND_ASSIGN(OCSPRequestSession); 421 DISALLOW_COPY_AND_ASSIGN(OCSPRequestSession);
422 }; 422 };
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
938 void SetURLRequestContextForNSSHttpIO(URLRequestContext* request_context) { 938 void SetURLRequestContextForNSSHttpIO(URLRequestContext* request_context) {
939 pthread_mutex_lock(&g_request_context_lock); 939 pthread_mutex_lock(&g_request_context_lock);
940 if (request_context) { 940 if (request_context) {
941 DCHECK(!g_request_context); 941 DCHECK(!g_request_context);
942 } 942 }
943 g_request_context = request_context; 943 g_request_context = request_context;
944 pthread_mutex_unlock(&g_request_context_lock); 944 pthread_mutex_unlock(&g_request_context_lock);
945 } 945 }
946 946
947 } // namespace net 947 } // namespace net
OLDNEW
« no previous file with comments | « content/browser/histogram_synchronizer.h ('k') | net/spdy/spdy_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698