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

Unified Diff: content/child/runtime_features.cc

Issue 2184973002: Add UMA to count the usage of sendBeacon with non-simple Content-Type (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Allow for Finch Created 4 years, 5 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/child/runtime_features.cc
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc
index 837230d02d7bf9212391ac3085a78d11ddfd15c5..caa6cab49d58333f052de5793e35df478d8b256f 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -252,6 +252,10 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
WebRuntimeFeatures::enableRenderingPipelineThrottling(
base::FeatureList::IsEnabled(features::kRenderingPipelineThrottling));
+ WebRuntimeFeatures::enableSendBeaconThrowForBlobWithNonSimpleType(
+ base::FeatureList::IsEnabled(
+ features::kSendBeaconThrowForBlobWithNonSimpleType));
+
#if defined(OS_ANDROID)
WebRuntimeFeatures::enablePaymentRequest(
base::FeatureList::IsEnabled(features::kWebPayments));
« no previous file with comments | « no previous file | content/public/common/content_features.h » ('j') | third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in » ('J')

Powered by Google App Engine
This is Rietveld 408576698