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

Unified Diff: chrome/common/render_messages.h

Issue 255075: Implement --enable-web-sockets flag. (Closed)
Patch Set: Remove WebKIT API change 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 | « chrome/common/chrome_switches.cc ('k') | webkit/api/public/WebSettings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages.h
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index bd1b6767c9a05402f274bc0db291060e721b0bbf..6f3304635bddfe6db609dec96c65a923cfd8a9f1 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -1652,6 +1652,7 @@ struct ParamTraits<WebPreferences> {
WriteParam(m, p.application_cache_enabled);
WriteParam(m, p.experimental_webgl_enabled);
WriteParam(m, p.experimental_notifications_enabled);
+ WriteParam(m, p.web_sockets_enabled);
}
static bool Read(const Message* m, void** iter, param_type* p) {
return
@@ -1688,7 +1689,8 @@ struct ParamTraits<WebPreferences> {
ReadParam(m, iter, &p->session_storage_enabled) &&
ReadParam(m, iter, &p->application_cache_enabled) &&
ReadParam(m, iter, &p->experimental_webgl_enabled) &&
- ReadParam(m, iter, &p->experimental_notifications_enabled);
+ ReadParam(m, iter, &p->experimental_notifications_enabled) &&
+ ReadParam(m, iter, &p->web_sockets_enabled);
}
static void Log(const param_type& p, std::wstring* l) {
l->append(L"<WebPreferences>");
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | webkit/api/public/WebSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698