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

Unified Diff: content/browser/tracing/tracing_ui.cc

Issue 2406703002: tracing: remove sampling state profiler (Closed)
Patch Set: . Created 4 years, 2 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: content/browser/tracing/tracing_ui.cc
diff --git a/content/browser/tracing/tracing_ui.cc b/content/browser/tracing/tracing_ui.cc
index 3e32838f33c2086e0f73d074643a87d387bc1b3e..eec9742fbbc8f9a7029e5c8292dfc5a9b6b2060d 100644
--- a/content/browser/tracing/tracing_ui.cc
+++ b/content/browser/tracing/tracing_ui.cc
@@ -94,11 +94,6 @@ bool GetTracingOptions(const std::string& data64,
if (enable_systrace)
trace_config->EnableSystrace();
- bool enable_sampling;
- options_ok &= options->GetBoolean("useSampling", &enable_sampling);
- if (enable_sampling)
- trace_config->EnableSampling();
-
if (!options_ok) {
LOG(ERROR) << "Malformed options";
return false;

Powered by Google App Engine
This is Rietveld 408576698