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

Unified Diff: remoting/base/rate_counter_unittest.cc

Issue 1542203002: Switch to standard integer types in remoting/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-remoting-host
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
« no previous file with comments | « remoting/base/rate_counter.cc ('k') | remoting/base/rsa_key_pair.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/rate_counter_unittest.cc
diff --git a/remoting/base/rate_counter_unittest.cc b/remoting/base/rate_counter_unittest.cc
index cf5962dfed7060e4616c77770bf3aa4b1323ffda..91b91c511ad06e9778cc5dc2a24a794d52e7f5fe 100644
--- a/remoting/base/rate_counter_unittest.cc
+++ b/remoting/base/rate_counter_unittest.cc
@@ -2,12 +2,16 @@
// 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 "base/macros.h"
#include "remoting/base/rate_counter.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace remoting {
-static const int64 kTestValues[] = { 10, 20, 30, 10, 25, 16, 15 };
+static const int64_t kTestValues[] = { 10, 20, 30, 10, 25, 16, 15 };
// One second window and one sample per second, so rate equals each sample.
TEST(RateCounterTest, OneSecondWindow) {
« no previous file with comments | « remoting/base/rate_counter.cc ('k') | remoting/base/rsa_key_pair.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698