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

Unified Diff: chrome/test/chromedriver/logging.cc

Issue 1548153002: Switch to standard integer types in chrome/. (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
« no previous file with comments | « chrome/test/chromedriver/logging.h ('k') | chrome/test/chromedriver/logging_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/logging.cc
diff --git a/chrome/test/chromedriver/logging.cc b/chrome/test/chromedriver/logging.cc
index b6941a68badafa6f756744574ec8c2b3b4f949e7..935ef73648a110d8fd1eab76feb48004224295ce 100644
--- a/chrome/test/chromedriver/logging.cc
+++ b/chrome/test/chromedriver/logging.cc
@@ -4,14 +4,17 @@
#include "chrome/test/chromedriver/logging.h"
+#include <stddef.h>
+#include <stdint.h>
#include <stdio.h>
-#include "base/basictypes.h"
#include "base/command_line.h"
#include "base/json/json_reader.h"
#include "base/logging.h"
+#include "base/macros.h"
#include "base/strings/stringprintf.h"
#include "base/time/time.h"
+#include "build/build_config.h"
#include "chrome/test/chromedriver/capabilities.h"
#include "chrome/test/chromedriver/chrome/console_logger.h"
#include "chrome/test/chromedriver/chrome/status.h"
@@ -29,7 +32,7 @@ namespace {
Log::Level g_log_level = Log::kWarning;
-int64 g_start_time = 0;
+int64_t g_start_time = 0;
// Array indices are the Log::Level enum values.
const char* const kLevelToName[] = {
@@ -179,7 +182,7 @@ void WebDriverLog::AddEntryTimestamped(const base::Time& timestamp,
scoped_ptr<base::DictionaryValue> log_entry_dict(new base::DictionaryValue());
log_entry_dict->SetDouble("timestamp",
- static_cast<int64>(timestamp.ToJsTime()));
+ static_cast<int64_t>(timestamp.ToJsTime()));
log_entry_dict->SetString("level", LevelToName(level));
if (!source.empty())
log_entry_dict->SetString("source", source);
« no previous file with comments | « chrome/test/chromedriver/logging.h ('k') | chrome/test/chromedriver/logging_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698