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

Side by Side Diff: net/cert_net/cert_net_fetcher_impl.cc

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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
« no previous file with comments | « net/cert_net/cert_net_fetcher_impl.h ('k') | net/cert_net/nss_ocsp.cc » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/cert_net/cert_net_fetcher_impl.h" 5 #include "net/cert_net/cert_net_fetcher_impl.h"
6 6
7 #include <tuple> 7 #include <tuple>
8 8
9 #include "base/callback_helpers.h" 9 #include "base/callback_helpers.h"
10 #include "base/containers/linked_list.h" 10 #include "base/containers/linked_list.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/macros.h"
12 #include "base/numerics/safe_math.h" 13 #include "base/numerics/safe_math.h"
13 #include "base/stl_util.h" 14 #include "base/stl_util.h"
14 #include "base/timer/timer.h" 15 #include "base/timer/timer.h"
15 #include "net/base/load_flags.h" 16 #include "net/base/load_flags.h"
16 #include "net/url_request/redirect_info.h" 17 #include "net/url_request/redirect_info.h"
17 #include "net/url_request/url_request_context.h" 18 #include "net/url_request/url_request_context.h"
18 19
19 // TODO(eroman): Add support for POST parameters. 20 // TODO(eroman): Add support for POST parameters.
20 // TODO(eroman): Add controls for bypassing the cache. 21 // TODO(eroman): Add controls for bypassing the cache.
21 // TODO(eroman): Add a maximum number of in-flight jobs/requests. 22 // TODO(eroman): Add a maximum number of in-flight jobs/requests.
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 void CertNetFetcherImpl::ClearCurrentlyCompletingJob(Job* job) { 544 void CertNetFetcherImpl::ClearCurrentlyCompletingJob(Job* job) {
544 DCHECK_EQ(currently_completing_job_, job); 545 DCHECK_EQ(currently_completing_job_, job);
545 currently_completing_job_ = nullptr; 546 currently_completing_job_ = nullptr;
546 } 547 }
547 548
548 bool CertNetFetcherImpl::IsCurrentlyCompletingJob(Job* job) { 549 bool CertNetFetcherImpl::IsCurrentlyCompletingJob(Job* job) {
549 return job == currently_completing_job_; 550 return job == currently_completing_job_;
550 } 551 }
551 552
552 } // namespace net 553 } // namespace net
OLDNEW
« no previous file with comments | « net/cert_net/cert_net_fetcher_impl.h ('k') | net/cert_net/nss_ocsp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698