Commit df75659d authored by ssid's avatar ssid Committed by Commit Bot

Background tracing: Enable preemptive mode on android

Change-Id: I49e26e74aeff801873b5e40a757c1042dc79fd4c
Reviewed-on: https://chromium-review.googlesource.com/c/1321949Reviewed-by: default avataroysteine <oysteine@chromium.org>
Commit-Queue: ssid <ssid@chromium.org>
Cr-Commit-Position: refs/heads/master@{#606153}
parent d33a9919
......@@ -162,12 +162,6 @@ bool ProfileAllowsScenario(const content::BackgroundTracingConfig& config,
bool ChromeTracingDelegate::IsAllowedToBeginBackgroundScenario(
const content::BackgroundTracingConfig& config,
bool requires_anonymized_data) {
#if defined(OS_ANDROID)
// TODO(oysteine): Support preemptive mode safely in Android.
if (config.tracing_mode() == content::BackgroundTracingConfig::PREEMPTIVE)
return false;
#endif
if (!ProfileAllowsScenario(config, PROFILE_NOT_REQUIRED))
return false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment