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

Unified Diff: webkit/tools/test_shell/layout_test_controller.cc

Issue 202058: WebSocket implementation in Chromium. (Closed)
Patch Set: update Created 11 years, 2 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/websocketstreamhandle_impl.cc ('k') | webkit/tools/test_shell/simple_resource_loader_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/layout_test_controller.cc
diff --git a/webkit/tools/test_shell/layout_test_controller.cc b/webkit/tools/test_shell/layout_test_controller.cc
index d757d8bd12cd5cfdacc414b713fe982be87bca31..c3b084eaba6e258e4174fac242ac255d6e6986e8 100644
--- a/webkit/tools/test_shell/layout_test_controller.cc
+++ b/webkit/tools/test_shell/layout_test_controller.cc
@@ -932,6 +932,8 @@ void LayoutTestController::overridePreference(
preferences->application_cache_enabled = CppVariantToBool(value);
else if (key == "WebKitTabToLinksPreferenceKey")
preferences->tabs_to_links = CppVariantToBool(value);
+ else if (key == "WebKitWebSocketsEnabled")
+ preferences->web_sockets_enabled = CppVariantToBool(value);
else {
std::string message("Invalid name for preference: ");
message.append(key);
« no previous file with comments | « webkit/glue/websocketstreamhandle_impl.cc ('k') | webkit/tools/test_shell/simple_resource_loader_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698