Commit 1c92d3e7 authored by yhirano@chromium.org's avatar yhirano@chromium.org

Add a runtime flag to enable an experimental WebSocket implementation.


BUG=226933

Review URL: https://chromiumcodereview.appspot.com/13936002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194781 0039d316-1c4b-4281-b951-d872f2087c98
parent a45bdf09
......@@ -6532,6 +6532,12 @@ Keep your key file in a safe place. You will need it to create new versions of y
<message name="IDS_FLAGS_ENABLE_EXPERIMENTAL_FORM_FILLING_DESCRIPTION" desc="Description for the flag to enable experimantal form filling feature">
Enable experimental form filling. Enables a collection of experimental features that make form filling easier.
</message>
<message name="IDS_FLAGS_ENABLE_EXPERIMENTAL_WEBSOCKET_NAME" desc="Name of the flag that enables experimental WebSocket implementation in chrome/net">
Enable experimental WebSocket implementation
</message>
<message name="IDS_FLAGS_ENABLE_EXPERIMENTAL_WEBSOCKET_DESCRIPTION" desc="Description for the flag to enable experimental WebSocket implementation in chrome/net">
Use the explemental WebSocket implementation.
</message>
<message name="IDS_FLAGS_ENABLE_WALLET_PRODUCTION_SERVICE_NAME" desc="Title for the flag to enable using production Online Wallet.">
Enable Online Wallet production service
</message>
......
......@@ -1268,6 +1268,13 @@ const Experiment kExperiments[] = {
kOsAndroid | kOsLinux | kOsCrOS,
MULTI_VALUE_TYPE(kImplSidePaintingChoices)
},
{
"enable-websocket-experimental-implementation",
IDS_FLAGS_ENABLE_EXPERIMENTAL_WEBSOCKET_NAME,
IDS_FLAGS_ENABLE_EXPERIMENTAL_WEBSOCKET_DESCRIPTION,
kOsAll,
SINGLE_VALUE_TYPE(switches::kEnableExperimentalWebSocket)
},
{
"max-tiles-for-interest-area",
IDS_FLAGS_MAX_TILES_FOR_INTEREST_AREA_NAME,
......
......@@ -817,6 +817,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
#else
switches::kDisableWebAudio,
#endif
switches::kEnableExperimentalWebSocket,
switches::kDomAutomationController,
switches::kEnableAccessibilityLogging,
switches::kEnableBrowserPluginForAllViewTypes,
......
......@@ -218,6 +218,9 @@ const char kDisableWebAudio[] = "disable-webaudio";
// Don't enforce the same-origin policy. (Used by people testing their sites.)
const char kDisableWebSecurity[] = "disable-web-security";
// Enable an experimental WebSocket implementation.
const char kEnableExperimentalWebSocket[] = "enable-experimental-websocket";
// Disables WebKit's XSSAuditor. The XSSAuditor mitigates reflective XSS.
const char kDisableXSSAuditor[] = "disable-xss-auditor";
......
......@@ -83,6 +83,7 @@ CONTENT_EXPORT extern const char kDisableWebRTC[];
CONTENT_EXPORT extern const char kDisableWebAudio[];
#endif
extern const char kDisableWebSecurity[];
extern const char kEnableExperimentalWebSocket[];
extern const char kDisableXSSAuditor[];
CONTENT_EXPORT extern const char kDomAutomationController[];
CONTENT_EXPORT extern const char kReduceSecurityForDomAutomationTests[];
......
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