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

Unified Diff: chrome/browser/tab_contents/render_view_host_delegate_helper.cc

Issue 159059: Enable DOM_STORAGE in our build. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | « no previous file | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/render_view_host_delegate_helper.cc
===================================================================
--- chrome/browser/tab_contents/render_view_host_delegate_helper.cc (revision 21124)
+++ chrome/browser/tab_contents/render_view_host_delegate_helper.cc (working copy)
@@ -176,6 +176,10 @@
command_line.HasSwitch(switches::kEnableRemoteFonts);
web_prefs.xss_auditor_enabled =
command_line.HasSwitch(switches::kEnableXSSAuditor);
+ web_prefs.local_storage_enabled =
+ command_line.HasSwitch(switches::kEnableLocalStorage);
+ web_prefs.session_storage_enabled =
+ command_line.HasSwitch(switches::kEnableSessionStorage);
}
web_prefs.uses_universal_detector =
« no previous file with comments | « no previous file | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698