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

Unified Diff: components/browser_watcher/exit_funnel_win_unittest.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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: components/browser_watcher/exit_funnel_win_unittest.cc
diff --git a/components/browser_watcher/exit_funnel_win_unittest.cc b/components/browser_watcher/exit_funnel_win_unittest.cc
index d45a291bb94b367265e7b4cac4ad361d8c0cddda..a503978838c53c890055ab647155d3ede6853ccf 100644
--- a/components/browser_watcher/exit_funnel_win_unittest.cc
+++ b/components/browser_watcher/exit_funnel_win_unittest.cc
@@ -4,6 +4,9 @@
#include "components/browser_watcher/exit_funnel_win.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include <map>
#include "base/command_line.h"
@@ -26,7 +29,7 @@ const wchar_t kRegistryPath[] = L"Software\\ExitFunnelWinTest";
class ExitFunnelWinTest : public testing::Test {
public:
typedef testing::Test Super;
- typedef std::map<base::string16, int64> EventMap;
+ typedef std::map<base::string16, int64_t> EventMap;
void SetUp() override {
Super::SetUp();
@@ -59,7 +62,7 @@ class ExitFunnelWinTest : public testing::Test {
for (size_t i = 0; i < key.GetValueCount(); ++i) {
base::string16 name;
EXPECT_EQ(key.GetValueNameAt(i, &name), ERROR_SUCCESS);
- int64 value = 0;
+ int64_t value = 0;
EXPECT_EQ(key.ReadInt64(name.c_str(), &value), ERROR_SUCCESS);
events[name] = value;
« no previous file with comments | « components/browser_watcher/exit_funnel_win.cc ('k') | components/browser_watcher/watcher_client_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698