Index: chromeos/cryptohome/homedir_methods.cc |
diff --git a/chromeos/cryptohome/homedir_methods.cc b/chromeos/cryptohome/homedir_methods.cc |
index 0407e3c24ea9774a8c3aa081049d40d2ae785566..8413c72f239dbdc35a33339c00e342cbd733b279 100644 |
--- a/chromeos/cryptohome/homedir_methods.cc |
+++ b/chromeos/cryptohome/homedir_methods.cc |
@@ -4,8 +4,12 @@ |
#include "chromeos/cryptohome/homedir_methods.h" |
+#include <stddef.h> |
+#include <stdint.h> |
+ |
#include "base/bind.h" |
#include "base/logging.h" |
+#include "base/macros.h" |
#include "chromeos/dbus/cryptohome/key.pb.h" |
#include "chromeos/dbus/cryptohome/rpc.pb.h" |
#include "chromeos/dbus/dbus_thread_manager.h" |
@@ -387,7 +391,7 @@ class HomedirMethodsImpl : public HomedirMethods { |
// Extract |number|. |
if (provider_data_it->has_number()) { |
- provider_data.number.reset(new int64(provider_data_it->number())); |
+ provider_data.number.reset(new int64_t(provider_data_it->number())); |
++data_items; |
} |