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

Unified Diff: chromeos/cryptohome/cryptohome_util.cc

Issue 1540803002: Switch to standard integer types in chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes 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 | « chromeos/cryptohome/cryptohome_parameters.cc ('k') | chromeos/cryptohome/homedir_methods.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/cryptohome/cryptohome_util.cc
diff --git a/chromeos/cryptohome/cryptohome_util.cc b/chromeos/cryptohome/cryptohome_util.cc
index 5e2b310ba631cb417256896aea0bd2cb1130988b..7d057b10d0fd678f0fb6163ce410978124016e05 100644
--- a/chromeos/cryptohome/cryptohome_util.cc
+++ b/chromeos/cryptohome/cryptohome_util.cc
@@ -4,6 +4,8 @@
#include "chromeos/cryptohome/cryptohome_util.h"
+#include <stdint.h>
+
#include "base/logging.h"
#include "chromeos/dbus/cryptohome_client.h"
#include "chromeos/dbus/dbus_thread_manager.h"
@@ -34,7 +36,7 @@ bool TpmIsBeingOwned() {
bool InstallAttributesGet(
const std::string& name, std::string* value) {
- std::vector<uint8> buf;
+ std::vector<uint8_t> buf;
bool success = false;
DBusThreadManager::Get()->GetCryptohomeClient()->
InstallAttributesGet(name, &buf, &success);
@@ -49,7 +51,7 @@ bool InstallAttributesGet(
bool InstallAttributesSet(
const std::string& name, const std::string& value) {
- std::vector<uint8> buf(value.c_str(), value.c_str() + value.size() + 1);
+ std::vector<uint8_t> buf(value.c_str(), value.c_str() + value.size() + 1);
bool success = false;
DBusThreadManager::Get()->GetCryptohomeClient()->
InstallAttributesSet(name, buf, &success);
« no previous file with comments | « chromeos/cryptohome/cryptohome_parameters.cc ('k') | chromeos/cryptohome/homedir_methods.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698