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

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

Issue 6625076: Removing references to off the record in comments and log messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 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/renderer_host/render_message_filter.h ('k') | webkit/plugins/npapi/webplugin.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) 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/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 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 357
358 { 358 {
359 base::AutoLock autolock(lock_); 359 base::AutoLock autolock(lock_);
360 DCHECK(!io_loop_); 360 DCHECK(!io_loop_);
361 io_loop_ = MessageLoopForIO::current(); 361 io_loop_ = MessageLoopForIO::current();
362 g_ocsp_io_loop.Get().AddRequest(this); 362 g_ocsp_io_loop.Get().AddRequest(this);
363 } 363 }
364 364
365 request_ = new net::URLRequest(url_, this); 365 request_ = new net::URLRequest(url_, this);
366 request_->set_context(url_request_context); 366 request_->set_context(url_request_context);
367 // To meet the privacy requirements of off-the-record mode. 367 // To meet the privacy requirements of incognito mode.
368 request_->set_load_flags( 368 request_->set_load_flags(
369 net::LOAD_DISABLE_CACHE | net::LOAD_DO_NOT_SAVE_COOKIES | 369 net::LOAD_DISABLE_CACHE | net::LOAD_DO_NOT_SAVE_COOKIES |
370 net::LOAD_DO_NOT_SEND_COOKIES); 370 net::LOAD_DO_NOT_SEND_COOKIES);
371 371
372 if (http_request_method_ == "POST") { 372 if (http_request_method_ == "POST") {
373 DCHECK(!upload_content_.empty()); 373 DCHECK(!upload_content_.empty());
374 DCHECK(!upload_content_type_.empty()); 374 DCHECK(!upload_content_type_.empty());
375 375
376 request_->set_method("POST"); 376 request_->set_method("POST");
377 extra_request_headers_.SetHeader( 377 extra_request_headers_.SetHeader(
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 909
910 URLRequestContext* GetURLRequestContextForOCSP() { 910 URLRequestContext* GetURLRequestContextForOCSP() {
911 pthread_mutex_lock(&g_request_context_lock); 911 pthread_mutex_lock(&g_request_context_lock);
912 URLRequestContext* request_context = g_request_context; 912 URLRequestContext* request_context = g_request_context;
913 pthread_mutex_unlock(&g_request_context_lock); 913 pthread_mutex_unlock(&g_request_context_lock);
914 DCHECK(!request_context || request_context->is_main()); 914 DCHECK(!request_context || request_context->is_main());
915 return request_context; 915 return request_context;
916 } 916 }
917 917
918 } // namespace net 918 } // namespace net
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_message_filter.h ('k') | webkit/plugins/npapi/webplugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698