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

Unified Diff: components/certificate_reporting/error_reporter.h

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (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 | « components/cdm/renderer/widevine_key_systems.cc ('k') | components/certificate_reporting/error_reporter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/certificate_reporting/error_reporter.h
diff --git a/components/certificate_reporting/error_reporter.h b/components/certificate_reporting/error_reporter.h
index 3bfc1d4629892a8b97355dc2b82476852c79281d..f0908176c580fa3a69845aac3a10b84adf47b8ce 100644
--- a/components/certificate_reporting/error_reporter.h
+++ b/components/certificate_reporting/error_reporter.h
@@ -5,6 +5,8 @@
#ifndef COMPONENTS_CERTIFICATE_REPORTING_CERTIFICATE_ERROR_REPORTER_H_
#define COMPONENTS_CERTIFICATE_REPORTING_CERTIFICATE_ERROR_REPORTER_H_
+#include <stdint.h>
+
#include <set>
#include <string>
@@ -40,8 +42,8 @@ class ErrorReporter {
// the ErrorReporter.
ErrorReporter(
const GURL& upload_url,
- const uint8 server_public_key[/* 32 */],
- const uint32 server_public_key_version,
+ const uint8_t server_public_key[/* 32 */],
+ const uint32_t server_public_key_version,
scoped_ptr<net::CertificateReportSender> certificate_report_sender);
virtual ~ErrorReporter();
@@ -69,7 +71,7 @@ class ErrorReporter {
#if defined(USE_OPENSSL)
// Used by tests.
static bool DecryptErrorReport(
- const uint8 server_private_key[32],
+ const uint8_t server_private_key[32],
const EncryptedCertLoggerRequest& encrypted_report,
std::string* decrypted_serialized_report);
#endif
@@ -79,8 +81,8 @@ class ErrorReporter {
const GURL upload_url_;
- const uint8* server_public_key_;
- const uint32 server_public_key_version_;
+ const uint8_t* server_public_key_;
+ const uint32_t server_public_key_version_;
DISALLOW_COPY_AND_ASSIGN(ErrorReporter);
};
« no previous file with comments | « components/cdm/renderer/widevine_key_systems.cc ('k') | components/certificate_reporting/error_reporter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698