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

Unified Diff: chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (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
Index: chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc
diff --git a/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc b/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc
index a6c5d91c7e757173182cf3c09c81dbafec8758e6..56151cc62bb69817e36287406ed343946f4aba28 100644
--- a/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc
+++ b/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h"
#include <keyhi.h>
+#include <stdint.h>
#include <algorithm>
#include <string>
@@ -101,7 +102,7 @@ void LoadPrivateKey(
const base::Callback<void(const scoped_refptr<PublicKey>& public_key,
const scoped_refptr<PrivateKey>& private_key)>&
callback) {
- std::vector<uint8> public_key_data;
+ std::vector<uint8_t> public_key_data;
scoped_refptr<PublicKey> public_key;
if (!owner_key_util->ImportPublicKey(&public_key_data)) {
scoped_refptr<PrivateKey> private_key;
@@ -129,7 +130,7 @@ void LoadPrivateKey(
bool DoesPrivateKeyExistAsyncHelper(
const scoped_refptr<OwnerKeyUtil>& owner_key_util) {
- std::vector<uint8> public_key;
+ std::vector<uint8_t> public_key;
if (!owner_key_util->ImportPublicKey(&public_key))
return false;
crypto::ScopedSECKEYPrivateKey key =
« no previous file with comments | « chrome/browser/chromeos/options/wimax_config_view.h ('k') | chrome/browser/chromeos/platform_keys/key_permissions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698