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

Unified Diff: net/cert/multi_threaded_cert_verifier.h

Issue 1158923005: Use the exact-width integer types defined in <stdint.h> rather than (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweak comments. Exclude mime_sniffer*. Rebase. Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: net/cert/multi_threaded_cert_verifier.h
diff --git a/net/cert/multi_threaded_cert_verifier.h b/net/cert/multi_threaded_cert_verifier.h
index 177f8df6f760db53e59b476491eb0ea5e10e24c8..96329702415a4d23f820bc869a65e9a4f7736a93 100644
--- a/net/cert/multi_threaded_cert_verifier.h
+++ b/net/cert/multi_threaded_cert_verifier.h
@@ -5,12 +5,13 @@
#ifndef NET_CERT_MULTI_THREADED_CERT_VERIFIER_H_
#define NET_CERT_MULTI_THREADED_CERT_VERIFIER_H_
+#include <stdint.h>
#include <set>
#include <string>
#include <vector>
-#include "base/basictypes.h"
#include "base/gtest_prod_util.h"
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/threading/non_thread_safe.h"
#include "net/base/completion_callback.h"
@@ -156,9 +157,9 @@ class NET_EXPORT_PRIVATE MultiThreadedCertVerifier
// For unit testing.
void ClearCache() { cache_.Clear(); }
size_t GetCacheSize() const { return cache_.size(); }
- uint64 cache_hits() const { return cache_hits_; }
- uint64 requests() const { return requests_; }
- uint64 inflight_joins() const { return inflight_joins_; }
+ uint64_t cache_hits() const { return cache_hits_; }
+ uint64_t requests() const { return requests_; }
+ uint64_t inflight_joins() const { return inflight_joins_; }
// cache_ maps from a request to a cached result.
CertVerifierCache cache_;
@@ -166,9 +167,9 @@ class NET_EXPORT_PRIVATE MultiThreadedCertVerifier
// inflight_ holds the jobs for which an active verification is taking place.
JobSet inflight_;
- uint64 requests_;
- uint64 cache_hits_;
- uint64 inflight_joins_;
+ uint64_t requests_;
+ uint64_t cache_hits_;
+ uint64_t inflight_joins_;
scoped_refptr<CertVerifyProc> verify_proc_;

Powered by Google App Engine
This is Rietveld 408576698