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

Unified Diff: content/app/content_main_runner.cc

Issue 1087733002: Revert "Add option to export tracing events to ETW." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/chrome_dll.gypi ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/app/content_main_runner.cc
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc
index 0db941a7a173b6e948706084a3ba2b5bf85d9871..42f1865ad5064e260e403cad4c8f451ec51aa28b 100644
--- a/content/app/content_main_runner.cc
+++ b/content/app/content_main_runner.cc
@@ -77,7 +77,6 @@
#include <cstring>
#include "base/strings/string_number_conversions.h"
-#include "base/trace_event/trace_event_etw_export_win.h"
#include "ui/base/win/atl_module.h"
#include "ui/gfx/win/dpi.h"
#elif defined(OS_MACOSX)
@@ -633,12 +632,6 @@ class ContentMainRunnerImpl : public ContentMainRunner {
base::trace_event::TraceOptions(
base::trace_event::RECORD_UNTIL_FULL));
}
-#if defined(OS_WIN)
- // Enable exporting of events to ETW if requested on the command line.
- if (command_line.HasSwitch(switches::kTraceExportEventsToETW))
- base::trace_event::TraceEventETWExport::EnableETWExport();
-#endif // OS_WIN
-
#if !defined(OS_ANDROID)
// Android tracing started at the beginning of the method.
// Other OSes have to wait till we get here in order for all the memory
« no previous file with comments | « chrome/chrome_dll.gypi ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698