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

Unified Diff: ios/chrome/browser/net/crl_set_fetcher.cc

Issue 1544743002: Switch to standard integer types in ios/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/browser/net/crl_set_fetcher.h ('k') | ios/chrome/browser/net/image_fetcher.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/net/crl_set_fetcher.cc
diff --git a/ios/chrome/browser/net/crl_set_fetcher.cc b/ios/chrome/browser/net/crl_set_fetcher.cc
index 208dc74cac7c8b89bf01b939f6e323c961d21c80..4b4e1f869c4b7c82f71db3409a608a3381c998a0 100644
--- a/ios/chrome/browser/net/crl_set_fetcher.cc
+++ b/ios/chrome/browser/net/crl_set_fetcher.cc
@@ -4,6 +4,8 @@
#include "ios/chrome/browser/net/crl_set_fetcher.h"
+#include <stdint.h>
+
#include "base/bind.h"
#include "base/files/file_util.h"
#include "base/numerics/safe_conversions.h"
@@ -64,7 +66,7 @@ void CRLSetFetcher::DoInitialLoadFromDisk() {
LoadFromDisk(GetCRLSetFilePath(), &crl_set_);
- uint32 sequence_of_loaded_crl = 0;
+ uint32_t sequence_of_loaded_crl = 0;
if (crl_set_.get())
sequence_of_loaded_crl = crl_set_->sequence();
@@ -119,13 +121,13 @@ void CRLSetFetcher::SetCRLSetIfNewer(scoped_refptr<net::CRLSet> crl_set) {
// kPublicKeySHA256 is the SHA256 hash of the SubjectPublicKeyInfo of the key
// that's used to sign generated CRL sets.
-static const uint8 kPublicKeySHA256[32] = {
+static const uint8_t kPublicKeySHA256[32] = {
0x75, 0xda, 0xf8, 0xcb, 0x77, 0x68, 0x40, 0x33, 0x65, 0x4c, 0x97,
0xe5, 0xc5, 0x1b, 0xcd, 0x81, 0x7b, 0x1e, 0xeb, 0x11, 0x2c, 0xe1,
0xa4, 0x33, 0x8c, 0xf5, 0x72, 0x5e, 0xed, 0xb8, 0x43, 0x97,
};
-void CRLSetFetcher::RegisterComponent(uint32 sequence_of_loaded_crl) {
+void CRLSetFetcher::RegisterComponent(uint32_t sequence_of_loaded_crl) {
DCHECK_CURRENTLY_ON_WEB_THREAD(web::WebThread::UI);
update_client::CrxComponent component;
« no previous file with comments | « ios/chrome/browser/net/crl_set_fetcher.h ('k') | ios/chrome/browser/net/image_fetcher.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698