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

Issue 2601163002: Remove indexed_db_messages.h. (Closed)

Created:
3 years, 11 months ago by Reilly Grant (use Gerrit)
Modified:
3 years, 11 months ago
Reviewers:
kenrb, jam, cmumford
CC:
chromium-reviews, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, cmumford, jsbell+idb_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove indexed_db_messages.h. This patch removes indexed_db_messages.h and makes IndexedDBDispatcherHost no longer a BrowserMessageFilter. Handling the special case of a channel close during a DB open operation does not seem to be necessary as long as we ensure that the database handle does not get stuck in a closed Mojo pipe so the logic (and test for it) have been removed. BUG=627484 Review-Url: https://codereview.chromium.org/2601163002 Cr-Commit-Position: refs/heads/master@{#441947} Committed: https://chromium.googlesource.com/chromium/src/+/bcb0b710d7986c14c48c7bc872a70095aef10637

Patch Set 1 #

Patch Set 2 : Remove reference to indexed_db_messages.h. #

Patch Set 3 : Fix build and remove unused headers. #

Patch Set 4 : Handle null callbacks in unit tests. #

Patch Set 5 : Set up the factory on the right thread. #

Total comments: 10

Patch Set 6 : Addressed cmumford's feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -229 lines) Patch
M content/browser/indexed_db/indexed_db_callbacks.h View 2 chunks +0 lines, -8 lines 0 comments Download
M content/browser/indexed_db/indexed_db_callbacks.cc View 1 2 3 4 5 14 chunks +46 lines, -15 lines 0 comments Download
M content/browser/indexed_db/indexed_db_database.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M content/browser/indexed_db/indexed_db_database_unittest.cc View 3 chunks +0 lines, -105 lines 0 comments Download
M content/browser/indexed_db/indexed_db_dispatcher_host.h View 1 2 3 4 5 5 chunks +8 lines, -16 lines 0 comments Download
M content/browser/indexed_db/indexed_db_dispatcher_host.cc View 1 2 3 4 5 3 chunks +5 lines, -57 lines 0 comments Download
M content/browser/indexed_db/indexed_db_transaction.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/indexed_db/indexed_db_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/indexed_db/mock_indexed_db_callbacks.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/indexed_db/mock_indexed_db_callbacks.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.h View 1 2 3 4 5 3 chunks +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 3 chunks +8 lines, -4 lines 0 comments Download
M content/common/BUILD.gn View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M content/common/content_message_generator.h View 1 chunk +0 lines, -1 line 0 comments Download
D content/common/indexed_db/indexed_db_messages.h View 1 chunk +0 lines, -9 lines 0 comments Download
M ipc/ipc_message_start.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 45 (33 generated)
Reilly Grant (use Gerrit)
3 years, 11 months ago (2016-12-28 22:34:42 UTC) #7
Reilly Grant (use Gerrit)
cmumford@, please do an IndexedDB review. kenrb@, please do an IPC review (easy, I deleted ...
3 years, 11 months ago (2016-12-28 22:36:52 UTC) #11
kenrb
ipc lgtm
3 years, 11 months ago (2016-12-29 05:59:25 UTC) #20
jam
lgtm
3 years, 11 months ago (2016-12-29 16:35:35 UTC) #21
Reilly Grant (use Gerrit)
Handle null callbacks in unit tests.
3 years, 11 months ago (2016-12-29 19:54:46 UTC) #22
Reilly Grant (use Gerrit)
Set up the factory on the right thread.
3 years, 11 months ago (2016-12-29 22:04:20 UTC) #27
cmumford
https://codereview.chromium.org/2601163002/diff/80001/content/browser/indexed_db/indexed_db_callbacks.cc File content/browser/indexed_db/indexed_db_callbacks.cc (right): https://codereview.chromium.org/2601163002/diff/80001/content/browser/indexed_db/indexed_db_callbacks.cc#newcode135 content/browser/indexed_db/indexed_db_callbacks.cc:135: void OnConnectionError(); No longer need to include indexed_db_blob_info.h https://codereview.chromium.org/2601163002/diff/80001/content/browser/indexed_db/indexed_db_database_unittest.cc ...
3 years, 11 months ago (2017-01-05 00:29:02 UTC) #32
Reilly Grant (use Gerrit)
Addressed cmumford's feedback.
3 years, 11 months ago (2017-01-06 02:22:00 UTC) #33
Reilly Grant (use Gerrit)
https://codereview.chromium.org/2601163002/diff/80001/content/browser/indexed_db/indexed_db_callbacks.cc File content/browser/indexed_db/indexed_db_callbacks.cc (right): https://codereview.chromium.org/2601163002/diff/80001/content/browser/indexed_db/indexed_db_callbacks.cc#newcode135 content/browser/indexed_db/indexed_db_callbacks.cc:135: void OnConnectionError(); On 2017/01/05 00:29:01, cmumford wrote: > No ...
3 years, 11 months ago (2017-01-06 02:23:35 UTC) #36
cmumford
lgtm
3 years, 11 months ago (2017-01-06 14:58:23 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2601163002/100001
3 years, 11 months ago (2017-01-06 16:19:11 UTC) #42
commit-bot: I haz the power
3 years, 11 months ago (2017-01-06 16:25:29 UTC) #45
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/bcb0b710d7986c14c48c7bc872a7...

Powered by Google App Engine
This is Rietveld 408576698