Index: chrome/profiling/profiling_main.cc |
diff --git a/chrome/profiling/profiling_main.cc b/chrome/profiling/profiling_main.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fd582b6fa724965808fe30ae61ffd9626a539549 |
--- /dev/null |
+++ b/chrome/profiling/profiling_main.cc |
@@ -0,0 +1,25 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "chrome/profiling/profiling_main.h" |
+ |
+#include "base/command_line.h" |
+#include "build/build_config.h" |
+ |
+#if defined(OS_WIN) |
+#include "base/win/win_util.h" |
+#endif |
+ |
+namespace profiling { |
+ |
+int ProfilingMain(const base::CommandLine& cmdline) { |
+ // TODO(brettw) implement this. |
+ |
+#if defined(OS_WIN) |
+ base::win::SetShouldCrashOnProcessDetach(false); |
+#endif |
+ return 0; |
+} |
+ |
+} // namespace profiling |