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

Unified Diff: chrome/browser/component_updater/pnacl/pnacl_component_installer.cc

Issue 590333002: Replace usage of basictypes.h with a combination of stdint.h and base/macros.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 6 years, 3 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: chrome/browser/component_updater/pnacl/pnacl_component_installer.cc
diff --git a/chrome/browser/component_updater/pnacl/pnacl_component_installer.cc b/chrome/browser/component_updater/pnacl/pnacl_component_installer.cc
index edf80e2d2d83af59c20e7eaccc3eddd43376584b..0aeebe72bac27640a6a4dc446fa089d976422791 100644
--- a/chrome/browser/component_updater/pnacl/pnacl_component_installer.cc
+++ b/chrome/browser/component_updater/pnacl/pnacl_component_installer.cc
@@ -4,6 +4,7 @@
#include "chrome/browser/component_updater/pnacl/pnacl_component_installer.h"
+#include <stdint.h>
#include <string>
#include <vector>
@@ -51,7 +52,7 @@ std::string SanitizeForPath(const std::string& input) {
// Set the component's hash to the multi-CRX PNaCl package.
void SetPnaclHash(CrxComponent* component) {
- static const uint8 sha256_hash[32] = {
+ static const uint8_t sha256_hash[32] = {
// This corresponds to AppID: hnimpnehoodheedghdeeijklkeaacbdc
0x7d, 0x8c, 0xfd, 0x47, 0xee, 0x37, 0x44, 0x36,
0x73, 0x44, 0x89, 0xab, 0xa4, 0x00, 0x21, 0x32,

Powered by Google App Engine
This is Rietveld 408576698