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

Unified Diff: chromeos/dbus/image_burner_client.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/dbus/image_burner_client.h ('k') | chromeos/dbus/introspectable_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/image_burner_client.cc
diff --git a/chromeos/dbus/image_burner_client.cc b/chromeos/dbus/image_burner_client.cc
index 91ef3aa67dc2eb5ceeb6df04e3990c432a42662c..2a2b22d4646b67868e949e2ebeff865632a901eb 100644
--- a/chromeos/dbus/image_burner_client.cc
+++ b/chromeos/dbus/image_burner_client.cc
@@ -4,8 +4,11 @@
#include "chromeos/dbus/image_burner_client.h"
+#include <stdint.h>
+
#include "base/bind.h"
#include "base/compiler_specific.h"
+#include "base/macros.h"
#include "dbus/bus.h"
#include "dbus/message.h"
#include "dbus/object_path.h"
@@ -102,8 +105,8 @@ class ImageBurnerClientImpl : public ImageBurnerClient {
void OnBurnProgressUpdate(dbus::Signal* signal) {
dbus::MessageReader reader(signal);
std::string target_path;
- int64 num_bytes_burnt;
- int64 total_size;
+ int64_t num_bytes_burnt;
+ int64_t total_size;
if (!reader.PopString(&target_path) ||
!reader.PopInt64(&num_bytes_burnt) ||
!reader.PopInt64(&total_size)) {
« no previous file with comments | « chromeos/dbus/image_burner_client.h ('k') | chromeos/dbus/introspectable_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698