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

Side by Side Diff: content/public/common/content_switches.cc

Issue 13936002: Add a runtime flag to enable an experimental WebSocket implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move the switch from cc to content Created 7 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // By default, file:// URIs cannot read other file:// URIs. This is an 9 // By default, file:// URIs cannot read other file:// URIs. This is an
10 // override for developers who need the old behavior for testing. 10 // override for developers who need the old behavior for testing.
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 // Disable web audio API. 214 // Disable web audio API.
215 const char kDisableWebAudio[] = "disable-webaudio"; 215 const char kDisableWebAudio[] = "disable-webaudio";
216 #endif 216 #endif
217 217
218 // Don't enforce the same-origin policy. (Used by people testing their sites.) 218 // Don't enforce the same-origin policy. (Used by people testing their sites.)
219 const char kDisableWebSecurity[] = "disable-web-security"; 219 const char kDisableWebSecurity[] = "disable-web-security";
220 220
221 // Disable Web Sockets support. 221 // Disable Web Sockets support.
222 const char kDisableWebSockets[] = "disable-web-sockets"; 222 const char kDisableWebSockets[] = "disable-web-sockets";
223 223
224 // Enable an experimental WebSocket implementation.
Jói 2013/04/09 09:29:22 Nit: Document what this does if --disable-web-sock
yhirano 2013/04/10 00:52:45 Done.
225 const char kEnableExperimentalWebSocket[] =
226 "enable-websocket-experimental-implementation";
227
224 // Disables WebKit's XSSAuditor. The XSSAuditor mitigates reflective XSS. 228 // Disables WebKit's XSSAuditor. The XSSAuditor mitigates reflective XSS.
225 const char kDisableXSSAuditor[] = "disable-xss-auditor"; 229 const char kDisableXSSAuditor[] = "disable-xss-auditor";
226 230
227 // Specifies if the |DOMAutomationController| needs to be bound in the 231 // Specifies if the |DOMAutomationController| needs to be bound in the
228 // renderer. This binding happens on per-frame basis and hence can potentially 232 // renderer. This binding happens on per-frame basis and hence can potentially
229 // be a performance bottleneck. One should only enable it when automating dom 233 // be a performance bottleneck. One should only enable it when automating dom
230 // based tests. Also enables sending/receiving renderer automation messages 234 // based tests. Also enables sending/receiving renderer automation messages
231 // through the |AutomationRenderViewHelper|. 235 // through the |AutomationRenderViewHelper|.
232 // 236 //
233 // TODO(kkania): Rename this to enable-renderer-automation after moving the 237 // TODO(kkania): Rename this to enable-renderer-automation after moving the
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; 769 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding";
766 770
767 // Use a vsync signal from the browser to the renderer to schedule rendering. 771 // Use a vsync signal from the browser to the renderer to schedule rendering.
768 const char kEnableVsyncNotification[] = "enable-vsync-notification"; 772 const char kEnableVsyncNotification[] = "enable-vsync-notification";
769 773
770 // Enables history navigation in response to horizontal overscroll. 774 // Enables history navigation in response to horizontal overscroll.
771 const char kEnableOverscrollHistoryNavigation[] = 775 const char kEnableOverscrollHistoryNavigation[] =
772 "enable-overscroll-history-navigation"; 776 "enable-overscroll-history-navigation";
773 777
774 } // namespace switches 778 } // namespace switches
OLDNEW
« chrome/browser/about_flags.cc ('K') | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698