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

Unified Diff: extensions/common/feature_switch.cc

Issue 2156763003: Extend the webRequest.onCompleted event details object with TLS/SSL information Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Consistently use key constants for dict fields and simplify validation error reporting Created 3 years, 11 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: extensions/common/feature_switch.cc
diff --git a/extensions/common/feature_switch.cc b/extensions/common/feature_switch.cc
index 84eaa9043fab39cde1dbc7532779ebd7c007d37e..689c8cbec562564c88f534ae07a69e1d8f310f16 100644
--- a/extensions/common/feature_switch.cc
+++ b/extensions/common/feature_switch.cc
@@ -59,6 +59,8 @@ class CommonSwitches {
FeatureSwitch::DEFAULT_DISABLED),
#endif // defined(GOOGLE_CHROME_BUILD)
native_crx_bindings(switches::kNativeCrxBindings,
+ FeatureSwitch::DEFAULT_DISABLED),
+ webrequest_ssl_info(switches::kWebrequestSSLInfo,
FeatureSwitch::DEFAULT_DISABLED) {
}
@@ -80,6 +82,7 @@ class CommonSwitches {
FeatureSwitch trace_app_source;
FeatureSwitch load_media_router_component_extension;
FeatureSwitch native_crx_bindings;
+ FeatureSwitch webrequest_ssl_info;
};
base::LazyInstance<CommonSwitches> g_common_switches =
@@ -120,6 +123,9 @@ FeatureSwitch* FeatureSwitch::load_media_router_component_extension() {
FeatureSwitch* FeatureSwitch::native_crx_bindings() {
return &g_common_switches.Get().native_crx_bindings;
}
+FeatureSwitch* FeatureSwitch::webrequest_ssl_info() {
+ return &g_common_switches.Get().webrequest_ssl_info;
+}
FeatureSwitch::ScopedOverride::ScopedOverride(FeatureSwitch* feature,
bool override_value)

Powered by Google App Engine
This is Rietveld 408576698