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

Side by Side Diff: base/base_switches.h

Issue 2847823004: [tracing] Allow enabling heap profiling from chrome://flags (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | base/base_switches.cc » ('j') | chrome/browser/flag_descriptions.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Defines all the "base" command-line switches. 5 // Defines all the "base" command-line switches.
6 6
7 #ifndef BASE_BASE_SWITCHES_H_ 7 #ifndef BASE_BASE_SWITCHES_H_
8 #define BASE_BASE_SWITCHES_H_ 8 #define BASE_BASE_SWITCHES_H_
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
11 11
12 namespace switches { 12 namespace switches {
13 13
14 extern const char kDisableBreakpad[]; 14 extern const char kDisableBreakpad[];
15 extern const char kDisableLowEndDeviceMode[]; 15 extern const char kDisableLowEndDeviceMode[];
16 extern const char kEnableCrashReporter[]; 16 extern const char kEnableCrashReporter[];
17 extern const char kEnableHeapProfiling[]; 17 extern const char kEnableHeapProfiling[];
18 extern const char kEnableHeapProfilingModePseudo[];
18 extern const char kEnableHeapProfilingModeNative[]; 19 extern const char kEnableHeapProfilingModeNative[];
19 extern const char kEnableHeapProfilingTaskProfiler[]; 20 extern const char kEnableHeapProfilingTaskProfiler[];
Wez 2017/04/28 17:17:12 Is TaskProfiler not a heap-profiling "mode"? i.e.
DmitrySkiba 2017/04/28 19:39:13 Yeah, I can see your logic here, but I don't want
Wez 2017/04/29 01:15:10 Understood; perhaps we can rename in a separate CL
20 extern const char kEnableLowEndDeviceMode[]; 21 extern const char kEnableLowEndDeviceMode[];
21 extern const char kForceFieldTrials[]; 22 extern const char kForceFieldTrials[];
22 extern const char kFullMemoryCrashReport[]; 23 extern const char kFullMemoryCrashReport[];
23 extern const char kNoErrorDialogs[]; 24 extern const char kNoErrorDialogs[];
24 extern const char kProfilerTiming[]; 25 extern const char kProfilerTiming[];
25 extern const char kProfilerTimingDisabledValue[]; 26 extern const char kProfilerTimingDisabledValue[];
26 extern const char kProfilingFile[]; 27 extern const char kProfilingFile[];
27 extern const char kTestChildProcess[]; 28 extern const char kTestChildProcess[];
28 extern const char kTestDoNotInitializeIcu[]; 29 extern const char kTestDoNotInitializeIcu[];
29 extern const char kTraceToFile[]; 30 extern const char kTraceToFile[];
30 extern const char kTraceToFileName[]; 31 extern const char kTraceToFileName[];
31 extern const char kV[]; 32 extern const char kV[];
32 extern const char kVModule[]; 33 extern const char kVModule[];
33 extern const char kWaitForDebugger[]; 34 extern const char kWaitForDebugger[];
34 35
35 #if defined(OS_WIN) 36 #if defined(OS_WIN)
36 extern const char kDisableUsbKeyboardDetect[]; 37 extern const char kDisableUsbKeyboardDetect[];
37 #endif 38 #endif
38 39
39 #if defined(OS_POSIX) 40 #if defined(OS_POSIX)
40 extern const char kEnableCrashReporterForTesting[]; 41 extern const char kEnableCrashReporterForTesting[];
41 #endif 42 #endif
42 43
43 } // namespace switches 44 } // namespace switches
44 45
45 #endif // BASE_BASE_SWITCHES_H_ 46 #endif // BASE_BASE_SWITCHES_H_
OLDNEW
« no previous file with comments | « no previous file | base/base_switches.cc » ('j') | chrome/browser/flag_descriptions.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698