|
Refactor DOM storage to be more object oriented. All the DOMStorageDispatcher hosts (which are each owned by one ResourceMessageFilter) for the same profile share a WebKit context, and each one of those contexts owns a DOMStorageContext. The DOMStorageContext owns storage namespace objects which own storage area objects which wrap their WebKit counterparts.
Not only is this cleaner code wise and more efficient (we're not duplicating WebStorageNamespaces and Areas for each DOMStorageDispatcherHost) but this is necessary for events and locking.
TEST=none
BUG=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=25609
Total comments: 61
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+527 lines, -150 lines) |
Patch |
 |
A |
chrome/browser/in_process_webkit/dom_storage_context.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+72 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/in_process_webkit/dom_storage_context.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+84 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/in_process_webkit/dom_storage_dispatcher_host.h
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+8 lines, -37 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/in_process_webkit/dom_storage_dispatcher_host.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
16 chunks |
+45 lines, -98 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/in_process_webkit/storage_area.h
|
View
|
1
2
3
4
|
1 chunk |
+59 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/in_process_webkit/storage_area.cc
|
View
|
1
2
3
|
1 chunk |
+46 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/in_process_webkit/storage_namespace.h
|
View
|
1
2
3
|
1 chunk |
+60 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/in_process_webkit/storage_namespace.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+95 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/in_process_webkit/webkit_context.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+12 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/in_process_webkit/webkit_context.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/in_process_webkit/webkit_thread.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/in_process_webkit/webkit_thread.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+8 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome.gyp
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/webkit_glue.h
|
View
|
6
7
8
9
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/webkit_glue.cc
|
View
|
6
7
8
9
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
Total messages: 16 (0 generated)
|