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

Unified Diff: chrome/test/logging/win/log_file_reader.cc

Issue 877323002: Mechanical rename of tracing includes for /chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months 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/log_file_printer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/logging/win/log_file_reader.cc
diff --git a/chrome/test/logging/win/log_file_reader.cc b/chrome/test/logging/win/log_file_reader.cc
index 9fa8985ec648c530e8a9d3e383fd8e40e4c56d77..4c3d0fc146b170d27f2fe82009697fe82110f075 100644
--- a/chrome/test/logging/win/log_file_reader.cc
+++ b/chrome/test/logging/win/log_file_reader.cc
@@ -4,11 +4,11 @@
#include "chrome/test/logging/win/log_file_reader.h"
-#include "base/debug/trace_event_win.h"
#include "base/files/file_path.h"
#include "base/lazy_instance.h"
#include "base/logging_win.h"
#include "base/synchronization/lock.h"
+#include "base/trace_event/trace_event_win.h"
#include "base/win/event_trace_consumer.h"
#include "chrome/test/logging/win/mof_data_parser.h"
@@ -39,9 +39,10 @@ logging::LogSeverity EventLevelToSeverity(uint8 level) {
}
}
-// TODO(grt) This reverses a mapping produced by base/debug/trace_event_win.cc's
-// TraceEventETWProvider::TraceEvent. TraceEventETWProvider should expose a way
-// to map an event type back to a trace type.
+// TODO(grt): This reverses a mapping produced by
+// base/trace_event/trace_event_win.cc's TraceEventETWProvider::TraceEvent.
+// TraceEventETWProvider should expose a way to map an event type back to a
+// trace type.
char EventTypeToTraceType(uint8 event_type) {
switch (event_type) {
case base::debug::kTraceEventTypeBegin:
@@ -259,4 +260,4 @@ void ReadLogFile(const base::FilePath& log_file, LogFileDelegate* delegate) {
LogFileReader::ReadFile(log_file, delegate);
}
-} // logging_win
+} // namespace logging_win
« no previous file with comments | « chrome/test/logging/win/log_file_printer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698