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

Unified Diff: chrome/browser/task_management/providers/child_process_task_unittest.cc

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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: chrome/browser/task_management/providers/child_process_task_unittest.cc
diff --git a/chrome/browser/task_management/providers/child_process_task_unittest.cc b/chrome/browser/task_management/providers/child_process_task_unittest.cc
index f85508fedd8162648344b7a999861d08f2d6fb1a..066cf595b0eba106cb7e58ebb14a80f0a6f06544 100644
--- a/chrome/browser/task_management/providers/child_process_task_unittest.cc
+++ b/chrome/browser/task_management/providers/child_process_task_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 <stdint.h>
+
+#include "base/macros.h"
#include "base/run_loop.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/task_management/providers/child_process_task.h"
@@ -139,7 +142,7 @@ TEST_F(ChildProcessTaskTest, TestAll) {
Task* found_task =
provider.GetTaskOfUrlRequest(base::GetCurrentProcId(), 0, 0);
ASSERT_EQ(task, found_task);
- const int64 bytes_read = 1024;
+ const int64_t bytes_read = 1024;
found_task->OnNetworkBytesRead(bytes_read);
found_task->Refresh(base::TimeDelta::FromSeconds(1),
REFRESH_TYPE_NETWORK_USAGE);

Powered by Google App Engine
This is Rietveld 408576698