OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/profiling/profiling_main.h" |
| 6 |
| 7 #include "base/command_line.h" |
| 8 #include "build/build_config.h" |
| 9 |
| 10 #if defined(OS_WIN) |
| 11 #include "base/win/win_util.h" |
| 12 #endif |
| 13 |
| 14 namespace profiling { |
| 15 |
| 16 int ProfilingMain(const base::CommandLine& cmdline) { |
| 17 // TODO(brettw) implement this. |
| 18 |
| 19 #if defined(OS_WIN) |
| 20 base::win::SetShouldCrashOnProcessDetach(false); |
| 21 #endif |
| 22 return 0; |
| 23 } |
| 24 |
| 25 } // namespace profiling |
OLD | NEW |