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

Side by Side Diff: net/url_request/url_request.cc

Issue 118039: Implement SSL client authentication for Windows.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Upload before checkin Created 11 years, 6 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/url_request/url_request.h ('k') | net/url_request/url_request_http_job.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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/url_request/url_request.h" 5 #include "net/url_request/url_request.h"
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "base/process_util.h" 8 #include "base/process_util.h"
9 #include "base/singleton.h" 9 #include "base/singleton.h"
10 #include "base/stats_counters.h" 10 #include "base/stats_counters.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 job_->SetAuth(username, password); 360 job_->SetAuth(username, password);
361 } 361 }
362 362
363 void URLRequest::CancelAuth() { 363 void URLRequest::CancelAuth() {
364 DCHECK(job_); 364 DCHECK(job_);
365 DCHECK(job_->NeedsAuth()); 365 DCHECK(job_->NeedsAuth());
366 366
367 job_->CancelAuth(); 367 job_->CancelAuth();
368 } 368 }
369 369
370 void URLRequest::ContinueWithCertificate(net::X509Certificate* client_cert) {
371 DCHECK(job_);
372
373 job_->ContinueWithCertificate(client_cert);
374 }
375
370 void URLRequest::ContinueDespiteLastError() { 376 void URLRequest::ContinueDespiteLastError() {
371 DCHECK(job_); 377 DCHECK(job_);
372 378
373 job_->ContinueDespiteLastError(); 379 job_->ContinueDespiteLastError();
374 } 380 }
375 381
376 void URLRequest::OrphanJob() { 382 void URLRequest::OrphanJob() {
377 job_->DetachRequest(); // ensures that the job will not call us again 383 job_->DetachRequest(); // ensures that the job will not call us again
378 job_ = NULL; 384 job_ = NULL;
379 } 385 }
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 } 474 }
469 475
470 #ifndef NDEBUG 476 #ifndef NDEBUG
471 477
472 URLRequestMetrics::~URLRequestMetrics() { 478 URLRequestMetrics::~URLRequestMetrics() {
473 DLOG_IF(WARNING, object_count != 0) << 479 DLOG_IF(WARNING, object_count != 0) <<
474 "Leaking " << object_count << " URLRequest object(s)"; 480 "Leaking " << object_count << " URLRequest object(s)";
475 } 481 }
476 482
477 #endif 483 #endif
OLDNEW
« no previous file with comments | « net/url_request/url_request.h ('k') | net/url_request/url_request_http_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698