| Index: content/test/mock_google_streaming_server.cc
|
| diff --git a/content/test/mock_google_streaming_server.cc b/content/test/mock_google_streaming_server.cc
|
| index ad9937aae7654471a1dda37099a866a7e3c32f0e..3484ca3fba003108933d84a373f1b1966ea0cad5 100644
|
| --- a/content/test/mock_google_streaming_server.cc
|
| +++ b/content/test/mock_google_streaming_server.cc
|
| @@ -4,6 +4,9 @@
|
|
|
| #include "content/test/mock_google_streaming_server.h"
|
|
|
| +#include <stddef.h>
|
| +#include <stdint.h>
|
| +
|
| #include "base/bind.h"
|
| #include "base/numerics/safe_conversions.h"
|
| #include "base/strings/string_split.h"
|
| @@ -102,7 +105,7 @@ void MockGoogleStreamingServer::SimulateResult(
|
|
|
| // Prepend 4 byte prefix length indication to the protobuf message as
|
| // envisaged by the google streaming recognition webservice protocol.
|
| - uint32 prefix = HostToNet32(checked_cast<uint32>(msg_string.size()));
|
| + uint32_t prefix = HostToNet32(checked_cast<uint32_t>(msg_string.size()));
|
| msg_string.insert(0, reinterpret_cast<char*>(&prefix), sizeof(prefix));
|
|
|
| SimulateServerResponse(true, msg_string);
|
|
|