|
Force databases and localstorage to be enabled extensions.
We were already doing this, this change modifies the
mechanism. Before we were relying on the presence of the
--enable-extensions flag, but as we are getting ready to
remove that on dev, we needed something else.
This forces local storage and database to be enabled on
chrome-extension:// pages.
Also, change the way database enabling works in general to
be more like the way local storage works, just for
consistency. Will remove old, unnecessary WebKit API in an
upstream change.
erikkay: extensions stuff
dumi: database stuff
jorlow: local storage stuff
BUG= 19511
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=24841
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+152 lines, -15 lines) |
Patch |
 |
A |
chrome/browser/extensions/extension_storage_apitest.cc
|
View
|
|
1 chunk |
+9 lines, -0 lines |
1 comment
|
Download
|
 |
M |
chrome/browser/renderer_host/render_view_host.cc
|
View
|
1
|
1 chunk |
+11 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/tab_contents/render_view_host_delegate_helper.cc
|
View
|
1
|
1 chunk |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome.gyp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/render_messages.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/render_thread.cc
|
View
|
1
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/api_test/storage/api_test.js
|
View
|
|
1 chunk |
+77 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/api_test/storage/background.html
|
View
|
1
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/api_test/storage/manifest.json
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/api_test/storage/tab.html
|
View
|
1
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/webpreferences.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/webpreferences.cc
|
View
|
|
2 chunks |
+1 line, -2 lines |
1 comment
|
Download
|
Total messages: 4 (0 generated)
|