| Index: content/browser/speech/google_streaming_remote_engine_unittest.cc
|
| ===================================================================
|
| --- content/browser/speech/google_streaming_remote_engine_unittest.cc (revision 245415)
|
| +++ content/browser/speech/google_streaming_remote_engine_unittest.cc (working copy)
|
| @@ -6,7 +6,7 @@
|
|
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/message_loop/message_loop.h"
|
| -#include "base/safe_numerics.h"
|
| +#include "base/numerics/safe_conversions.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "base/sys_byteorder.h"
|
| #include "content/browser/speech/audio_buffer.h"
|
| @@ -20,7 +20,7 @@
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| using base::HostToNet32;
|
| -using base::checked_numeric_cast;
|
| +using base::checked_cast;
|
| using net::URLRequestStatus;
|
| using net::TestURLFetcher;
|
| using net::TestURLFetcherFactory;
|
| @@ -490,7 +490,7 @@
|
|
|
| // Prepend 4 byte prefix length indication to the protobuf message as
|
| // envisaged by the google streaming recognition webservice protocol.
|
| - uint32 prefix = HostToNet32(checked_numeric_cast<uint32>(msg_string.size()));
|
| + uint32 prefix = HostToNet32(checked_cast<uint32>(msg_string.size()));
|
| msg_string.insert(0, reinterpret_cast<char*>(&prefix), sizeof(prefix));
|
|
|
| return msg_string;
|
|
|