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

Unified Diff: extensions/browser/api/cast_channel/logger_unittest.cc

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
Patch Set: 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
Index: extensions/browser/api/cast_channel/logger_unittest.cc
diff --git a/extensions/browser/api/cast_channel/logger_unittest.cc b/extensions/browser/api/cast_channel/logger_unittest.cc
index bce418596a4500ec46e25a1bd3c7b96de2972f17..a9daf7bb33e7abfe4ab953115ebaac24c71b4260 100644
--- a/extensions/browser/api/cast_channel/logger_unittest.cc
+++ b/extensions/browser/api/cast_channel/logger_unittest.cc
@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <stddef.h>
+#include <stdint.h>
+
#include <string>
#include "base/test/simple_test_clock.h"
@@ -32,9 +35,9 @@ class CastChannelLoggerTest : public testing::Test {
bool Uncompress(const char* input, int length, std::string* output) {
z_stream stream = {0};
- stream.next_in = reinterpret_cast<uint8*>(const_cast<char*>(input));
+ stream.next_in = reinterpret_cast<uint8_t*>(const_cast<char*>(input));
stream.avail_in = length;
- stream.next_out = reinterpret_cast<uint8*>(&(*output)[0]);
+ stream.next_out = reinterpret_cast<uint8_t*>(&(*output)[0]);
stream.avail_out = output->size();
bool success = false;
« no previous file with comments | « extensions/browser/api/cast_channel/logger.cc ('k') | extensions/browser/api/declarative/declarative_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698