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

Unified Diff: chrome/test/logging/win/file_logger.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/logging/win/file_logger.h ('k') | chrome/test/logging/win/log_file_printer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/logging/win/file_logger.cc
diff --git a/chrome/test/logging/win/file_logger.cc b/chrome/test/logging/win/file_logger.cc
index 0db34db0f45534b472a56cec640407e13ba32740..e1e5ab99ddde770b69e788d067992aa09c5fbab1 100644
--- a/chrome/test/logging/win/file_logger.cc
+++ b/chrome/test/logging/win/file_logger.cc
@@ -7,12 +7,14 @@
#include <windows.h>
#include <guiddef.h>
#include <objbase.h>
+#include <stddef.h>
#include <ios>
#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/logging_win.h"
+#include "base/macros.h"
#include "base/strings/string16.h"
#include "base/strings/utf_string_conversions.h"
#include "base/win/event_trace_consumer.h"
@@ -43,8 +45,8 @@ const GUID kChromeTestsProvider =
// FileLogger::EventProviderBits.
const struct {
const GUID* provider_name;
- uint8 level;
- uint32 flags;
+ uint8_t level;
+ uint32_t flags;
} kProviders[] = {
{ &kChromeTraceProviderName, 255, 0 },
{ &kChromeFrameProvider, 255, 0 },
@@ -128,7 +130,7 @@ void FileLogger::Initialize() {
Initialize(kAllEventProviders);
}
-void FileLogger::Initialize(uint32 event_provider_mask) {
+void FileLogger::Initialize(uint32_t event_provider_mask) {
CHECK(!is_initialized_);
// Stop a previous session that wasn't shut down properly.
« no previous file with comments | « chrome/test/logging/win/file_logger.h ('k') | chrome/test/logging/win/log_file_printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698