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

Side by Side Diff: chrome/profiling/profiling_main.cc

Issue 2941823002: Add flags and skeleton for profiling process. (Closed)
Patch Set: Fix header Created 3 years, 6 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 unified diff | Download patch
« no previous file with comments | « chrome/profiling/profiling_main.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « chrome/profiling/profiling_main.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698