diff options
author | avi <avi@chromium.org> | 2015-12-22 10:12:45 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-22 18:13:52 +0000 |
commit | 22437c690d92b7440913d190bf5474785ccd73ec (patch) | |
tree | 76dbcdd2610bc4deb60e3d4954a14c4d1abc9ff6 /dbus/test_service.cc | |
parent | 73a178bda739c022e3d2ecd79f1c2c1e3e574aa6 (diff) | |
download | chromium_src-22437c690d92b7440913d190bf5474785ccd73ec.zip chromium_src-22437c690d92b7440913d190bf5474785ccd73ec.tar.gz chromium_src-22437c690d92b7440913d190bf5474785ccd73ec.tar.bz2 |
Switch to standard integer types in dbus/.
BUG=138542
TBR=hashimoto@chromium.org
Review URL: https://codereview.chromium.org/1541193002
Cr-Commit-Position: refs/heads/master@{#366617}
Diffstat (limited to 'dbus/test_service.cc')
-rw-r--r-- | dbus/test_service.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dbus/test_service.cc b/dbus/test_service.cc index 2c14869..804bb2a 100644 --- a/dbus/test_service.cc +++ b/dbus/test_service.cc @@ -4,6 +4,8 @@ #include "dbus/test_service.h" +#include <stdint.h> + #include <string> #include <vector> @@ -428,7 +430,7 @@ void TestService::GetProperty(MethodCall* method_call, MessageWriter variant_array_writer(NULL); writer.OpenVariant("ay", &variant_writer); - const uint8 bytes[] = { 0x54, 0x65, 0x73, 0x74 }; + const uint8_t bytes[] = {0x54, 0x65, 0x73, 0x74}; variant_writer.AppendArrayOfBytes(bytes, sizeof(bytes)); writer.CloseContainer(&variant_writer); @@ -630,7 +632,7 @@ void TestService::AddPropertiesToWriter(MessageWriter* writer) { array_writer.OpenDictEntry(&dict_entry_writer); dict_entry_writer.AppendString("Bytes"); dict_entry_writer.OpenVariant("ay", &variant_writer); - const uint8 bytes[] = { 0x54, 0x65, 0x73, 0x74 }; + const uint8_t bytes[] = {0x54, 0x65, 0x73, 0x74}; variant_writer.AppendArrayOfBytes(bytes, sizeof(bytes)); dict_entry_writer.CloseContainer(&variant_writer); array_writer.CloseContainer(&dict_entry_writer); |