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

Unified Diff: webkit/glue/webpreferences.cc

Issue 7462009: Enable hybi WebSocket protocol by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
« no previous file with comments | « webkit/glue/webpreferences.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webpreferences.cc
diff --git a/webkit/glue/webpreferences.cc b/webkit/glue/webpreferences.cc
index dec3db6ce469347e7c983aa66c5a03465b396146..615b68c9859dc120cc7ef560d6001a5c7d0141c0 100644
--- a/webkit/glue/webpreferences.cc
+++ b/webkit/glue/webpreferences.cc
@@ -85,7 +85,8 @@ WebPreferences::WebPreferences()
allow_displaying_insecure_content(true),
allow_running_insecure_content(false),
should_print_backgrounds(false),
- enable_scroll_animator(false) {
+ enable_scroll_animator(false),
+ hixie76_websocket_protocol_enabled(false) {
}
WebPreferences::~WebPreferences() {
@@ -236,6 +237,8 @@ void WebPreferences::Apply(WebView* web_view) const {
settings->setAllowRunningOfInsecureContent(allow_running_insecure_content);
settings->setShouldPrintBackgrounds(should_print_backgrounds);
settings->setEnableScrollAnimator(enable_scroll_animator);
+ settings->setHixie76WebSocketProtocolEnabled(
+ hixie76_websocket_protocol_enabled);
WebNetworkStateNotifier::setOnLine(is_online);
}
« no previous file with comments | « webkit/glue/webpreferences.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698