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

Unified Diff: chrome/browser/flag_descriptions.h

Issue 2847823004: [tracing] Allow enabling heap profiling from chrome://flags (Closed)
Patch Set: Created 3 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
Index: chrome/browser/flag_descriptions.h
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
index ba0e2b950184bfeabc7ed8e54a2c30fd32a45f60..3bfd92b559ff4445cceaa19ee8cfd9eba8cf26c0 100644
--- a/chrome/browser/flag_descriptions.h
+++ b/chrome/browser/flag_descriptions.h
@@ -3320,6 +3320,12 @@ extern const char kAutoplayPolicyNoUserGestureRequired[];
// Description of the autoplay policy that requires a user gesture.
extern const char kAutoplayPolicyUserGestureRequired[];
+extern const char kEnableHeapProfilingName[];
Wez 2017/04/28 17:17:12 nit: Can we have a brief comment on this block to
DmitrySkiba 2017/04/28 19:39:13 Do you really want to add comments like "Name of t
Wez 2017/04/29 01:15:10 The problem is that at-a-glance these look odd - t
+extern const char kEnableHeapProfilingDescription[];
+extern const char kEnableHeapProfilingModePseudo[];
Wez 2017/04/28 17:17:12 See comment re kEnable... naming for the mode stri
DmitrySkiba 2017/04/28 19:39:13 I'm not sure, consider the full name: flag_descrip
Wez 2017/04/29 01:15:10 Agreed; I was mis-reading the convention based on
+extern const char kEnableHeapProfilingModeNative[];
+extern const char kEnableHeapProfilingTaskProfiler[];
+
} // namespace flag_descriptions
#endif // CHROME_BROWSER_FLAG_DESCRIPTIONS_H_

Powered by Google App Engine
This is Rietveld 408576698