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

Unified Diff: chrome/browser/flag_descriptions.cc

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.cc
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
index 6127251646572b93a8d26b29bf6dfc34200a833f..275de07778a24d6bfe8dbbcc769bfce78a9e4baf 100644
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
@@ -3049,4 +3049,14 @@ const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
const char kAutoplayPolicyCrossOriginUserGestureRequired[] =
"User gesture is required for cross-origin iframes.";
+const char kEnableHeapProfilingName[] = "Heap profiling";
+
+const char kEnableHeapProfilingDescription[] = "Enables heap profiling.";
+
+extern const char kEnableHeapProfilingModePseudo[] = "Enabled (pseudo mode)";
Wez 2017/04/28 17:17:12 Why are these extern and not the ones above?
DmitrySkiba 2017/04/28 19:39:13 Good catch, thanks!
+
+extern const char kEnableHeapProfilingModeNative[] = "Enabled (native mode)";
+
+extern const char kEnableHeapProfilingTaskProfiler[] = "Enabled (task mode)";
+
} // namespace flag_descriptions

Powered by Google App Engine
This is Rietveld 408576698