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

Unified Diff: chrome/browser/component_updater/cld_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/cld_component_installer.cc
diff --git a/chrome/browser/component_updater/cld_component_installer.cc b/chrome/browser/component_updater/cld_component_installer.cc
index 6ccd5d376356e8c17bf71c021c5fc0510c3721a9..9310cee54a100305f7f4da70a27e5e70514c1ba5 100644
--- a/chrome/browser/component_updater/cld_component_installer.cc
+++ b/chrome/browser/component_updater/cld_component_installer.cc
@@ -37,7 +37,7 @@ namespace component_updater {
// The SHA256 of the SubjectPublicKeyInfo used to sign the extension.
// The extension id is: dpedmmgabcgnikllifiidmijgoiihfgf
-const uint8 kPublicKeySHA256[32] = {
+const uint8_t kPublicKeySHA256[32] = {
0x3f, 0x43, 0xcc, 0x60, 0x12, 0x6d, 0x8a, 0xbb,
0x85, 0x88, 0x3c, 0x89, 0x6e, 0x88, 0x75, 0x65,
0xb9, 0x46, 0x09, 0xe8, 0xca, 0x92, 0xdd, 0x82,
@@ -96,7 +96,7 @@ base::FilePath CldComponentInstallerTraits::GetBaseDirectory() const {
return result;
}
-void CldComponentInstallerTraits::GetHash(std::vector<uint8>* hash) const {
+void CldComponentInstallerTraits::GetHash(std::vector<uint8_t>* hash) const {
hash->assign(kPublicKeySHA256,
kPublicKeySHA256 + arraysize(kPublicKeySHA256));
}

Powered by Google App Engine
This is Rietveld 408576698