|
|
Send IndexedDB observations through IDBDatabaseCallbacks.
This change refactors IndexedDB observations that they are transmitted
through the same DatabaseCallbacks Mojo interface as other out-of-band
database events. This means we can delete a lot of code that existed
specifically to support observers in the Blink public API and remove
the last remaining legacy IPC messages from indexed_db_messages.h.
Note, indexed_db_messages.h remains after this change because removing
it causes a lot of unrelated code churn.
BUG= 627484
Committed: https://crrev.com/8f7a4e424f50eec24ec03e2e11f7048b1a3f6b0b
Cr-Commit-Position: refs/heads/master@{#434781}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+266 lines, -1089 lines) |
Patch |
 |
M |
content/browser/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/indexed_db/database_impl.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/indexed_db/indexed_db_callbacks.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/indexed_db/indexed_db_database.h
|
View
|
1
2
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/indexed_db/indexed_db_database.cc
|
View
|
1
2
|
3 chunks |
+7 lines, -12 lines |
0 comments
|
Download
|
 |
M |
content/browser/indexed_db/indexed_db_database_callbacks.h
|
View
|
|
3 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/indexed_db/indexed_db_database_callbacks.cc
|
View
|
|
5 chunks |
+11 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/browser/indexed_db/indexed_db_dispatcher_host.h
|
View
|
|
4 chunks |
+1 line, -13 lines |
0 comments
|
Download
|
 |
M |
content/browser/indexed_db/indexed_db_dispatcher_host.cc
|
View
|
|
4 chunks |
+1 line, -24 lines |
0 comments
|
Download
|
 |
M |
content/browser/indexed_db/indexed_db_factory_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
D |
content/browser/indexed_db/indexed_db_observation.h
|
View
|
|
1 chunk |
+0 lines, -51 lines |
0 comments
|
Download
|
 |
D |
content/browser/indexed_db/indexed_db_observation.cc
|
View
|
|
1 chunk |
+0 lines, -33 lines |
0 comments
|
Download
|
 |
D |
content/browser/indexed_db/indexed_db_observer_changes.h
|
View
|
|
1 chunk |
+0 lines, -50 lines |
0 comments
|
Download
|
 |
D |
content/browser/indexed_db/indexed_db_observer_changes.cc
|
View
|
|
1 chunk |
+0 lines, -26 lines |
0 comments
|
Download
|
 |
M |
content/browser/indexed_db/indexed_db_transaction.h
|
View
|
|
3 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/indexed_db/indexed_db_transaction.cc
|
View
|
|
3 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/browser/indexed_db/mock_indexed_db_database_callbacks.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/child/BUILD.gn
|
View
|
1
2
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/child/indexed_db/indexed_db_database_callbacks_impl.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/child/indexed_db/indexed_db_database_callbacks_impl.cc
|
View
|
|
3 chunks |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/child/indexed_db/indexed_db_dispatcher.h
|
View
|
1
2
|
4 chunks |
+0 lines, -31 lines |
0 comments
|
Download
|
 |
M |
content/child/indexed_db/indexed_db_dispatcher.cc
|
View
|
1
2
|
3 chunks |
+0 lines, -58 lines |
0 comments
|
Download
|
 |
D |
content/child/indexed_db/indexed_db_message_filter.h
|
View
|
|
1 chunk |
+0 lines, -35 lines |
0 comments
|
Download
|
 |
D |
content/child/indexed_db/indexed_db_message_filter.cc
|
View
|
|
1 chunk |
+0 lines, -36 lines |
0 comments
|
Download
|
 |
M |
content/child/indexed_db/webidbcursor_impl.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/child/indexed_db/webidbdatabase_impl.h
|
View
|
|
2 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/child/indexed_db/webidbdatabase_impl.cc
|
View
|
1
2
|
6 chunks |
+12 lines, -26 lines |
0 comments
|
Download
|
 |
M |
content/child/indexed_db/webidbfactory_impl.cc
|
View
|
|
4 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/common/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/indexed_db/indexed_db.mojom
|
View
|
1
2
|
4 chunks |
+20 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/indexed_db/indexed_db.typemap
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/indexed_db/indexed_db_enum_traits.h
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/indexed_db/indexed_db_enum_traits.cc
|
View
|
1
2
|
2 chunks |
+42 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/indexed_db/indexed_db_messages.h
|
View
|
|
1 chunk |
+0 lines, -56 lines |
0 comments
|
Download
|
 |
D |
content/common/indexed_db/indexed_db_param_traits.h
|
View
|
|
1 chunk |
+0 lines, -45 lines |
0 comments
|
Download
|
 |
D |
content/common/indexed_db/indexed_db_param_traits.cc
|
View
|
|
1 chunk |
+0 lines, -231 lines |
0 comments
|
Download
|
 |
M |
content/common/indexed_db/indexed_db_struct_traits.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/render_thread_impl.cc
|
View
|
1
2
3
4
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/indexeddb/BUILD.gn
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h
|
View
|
|
5 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp
|
View
|
|
6 chunks |
+43 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/indexeddb/IDBDatabaseCallbacks.h
|
View
|
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/indexeddb/IDBDatabaseCallbacks.cpp
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/indexeddb/IDBObserver.h
|
View
|
1
2
3
4
|
2 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp
|
View
|
|
3 chunks |
+3 lines, -21 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/indexeddb/MockWebIDBDatabase.h
|
View
|
|
2 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/indexeddb/WebIDBDatabaseCallbacksImpl.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/indexeddb/WebIDBDatabaseCallbacksImpl.cpp
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
D |
third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.h
|
View
|
|
1 chunk |
+0 lines, -65 lines |
0 comments
|
Download
|
 |
D |
third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.cpp
|
View
|
|
1 chunk |
+0 lines, -52 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabase.h
|
View
|
|
3 chunks |
+9 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabaseCallbacks.h
|
View
|
|
2 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
D |
third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h
|
View
|
|
1 chunk |
+0 lines, -34 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
tools/ipc_fuzzer/fuzzer/fuzzer.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -115 lines |
0 comments
|
Download
|
Total messages: 53 (33 generated)
|