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

Issue 17518004: Move IndexedDB from WEBKIT_DEPRECATED to dedicated thread (Closed)

Created:
7 years, 6 months ago by jsbell
Modified:
7 years, 6 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, chromium-apps-reviews_chromium.org, markusheintz_, jamesr
Visibility:
Public.

Description

Move IndexedDB from WEBKIT_DEPRECATED to dedicated thread BUG=234279 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=208544

Patch Set 1 #

Patch Set 2 : Add missing files #

Total comments: 15

Patch Set 3 : Fix unit_tests, review feedback, terminate thread #

Patch Set 4 : ML -> MLP, reduce context API #

Patch Set 5 : Drop MLP from API #

Patch Set 6 : Rebased #

Total comments: 9

Patch Set 7 : Review nits #

Patch Set 8 : Simplify CannedBrowsingDataIndexedDBHelper #

Patch Set 9 : IOS build fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+442 lines, -349 lines) Patch
M chrome/browser/browsing_data/browsing_data_indexed_db_helper.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -9 lines 0 comments Download
M chrome/browser/browsing_data/browsing_data_indexed_db_helper.cc View 1 2 3 4 5 6 7 9 chunks +25 lines, -39 lines 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/browser_context.cc View 1 2 2 chunks +9 lines, -7 lines 0 comments Download
M content/browser/browser_main_loop.h View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -1 line 0 comments Download
M content/browser/browser_main_loop.cc View 1 2 3 4 5 6 7 2 chunks +9 lines, -0 lines 0 comments Download
M content/browser/in_process_webkit/indexed_db_browsertest.cc View 1 2 3 4 5 5 chunks +22 lines, -19 lines 0 comments Download
M content/browser/in_process_webkit/indexed_db_dispatcher_host.h View 3 chunks +8 lines, -3 lines 0 comments Download
M content/browser/in_process_webkit/indexed_db_dispatcher_host.cc View 1 2 3 37 chunks +108 lines, -78 lines 0 comments Download
M content/browser/indexed_db/indexed_db_context_impl.h View 1 2 3 4 5 7 chunks +8 lines, -2 lines 0 comments Download
M content/browser/indexed_db/indexed_db_context_impl.cc View 1 2 3 4 5 6 7 16 chunks +43 lines, -27 lines 0 comments Download
M content/browser/indexed_db/indexed_db_internals_ui.h View 1 chunk +5 lines, -7 lines 0 comments Download
M content/browser/indexed_db/indexed_db_internals_ui.cc View 1 2 3 3 chunks +27 lines, -46 lines 0 comments Download
M content/browser/indexed_db/indexed_db_quota_client.h View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M content/browser/indexed_db/indexed_db_quota_client.cc View 1 2 3 8 chunks +42 lines, -20 lines 0 comments Download
M content/browser/indexed_db/indexed_db_quota_client_unittest.cc View 1 2 3 4 11 chunks +37 lines, -31 lines 0 comments Download
M content/browser/indexed_db/indexed_db_unittest.cc View 1 2 3 4 7 chunks +65 lines, -54 lines 0 comments Download
M content/browser/storage_partition_impl.cc View 1 2 3 4 5 6 2 chunks +11 lines, -2 lines 0 comments Download
M content/public/browser/indexed_db_context.h View 1 2 3 4 5 6 2 chunks +12 lines, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
jsbell
Here's the latest iteration (as a separate CL to make comparing easier). Most of the ...
7 years, 6 months ago (2013-06-20 22:26:16 UTC) #1
jsbell
Whoops, typo+autocomplete in the reviewers line. +darin@ for realz.
7 years, 6 months ago (2013-06-20 22:40:09 UTC) #2
jsbell
Of course, a gazillion other tests failed since they also depend on ExtensionServiceTestBase which needs ...
7 years, 6 months ago (2013-06-21 00:26:30 UTC) #3
jam
https://codereview.chromium.org/17518004/diff/5001/content/browser/indexed_db/indexed_db_context_impl.h File content/browser/indexed_db/indexed_db_context_impl.h (right): https://codereview.chromium.org/17518004/diff/5001/content/browser/indexed_db/indexed_db_context_impl.h#newcode45 content/browser/indexed_db/indexed_db_context_impl.h:45: base::MessageLoop* message_loop); question: why did you switch from MLP ...
7 years, 6 months ago (2013-06-21 16:00:50 UTC) #4
jsbell
Updated patch coming up https://codereview.chromium.org/17518004/diff/5001/content/browser/indexed_db/indexed_db_context_impl.h File content/browser/indexed_db/indexed_db_context_impl.h (right): https://codereview.chromium.org/17518004/diff/5001/content/browser/indexed_db/indexed_db_context_impl.h#newcode45 content/browser/indexed_db/indexed_db_context_impl.h:45: base::MessageLoop* message_loop); On 2013/06/21 16:00:50, ...
7 years, 6 months ago (2013-06-21 16:34:16 UTC) #5
jsbell
https://codereview.chromium.org/17518004/diff/5001/content/browser/indexed_db/indexed_db_context_impl.h File content/browser/indexed_db/indexed_db_context_impl.h (right): https://codereview.chromium.org/17518004/diff/5001/content/browser/indexed_db/indexed_db_context_impl.h#newcode45 content/browser/indexed_db/indexed_db_context_impl.h:45: base::MessageLoop* message_loop); On 2013/06/21 16:34:16, jsbell wrote: > On ...
7 years, 6 months ago (2013-06-21 16:49:47 UTC) #6
jsbell
https://codereview.chromium.org/17518004/diff/5001/content/browser/indexed_db/indexed_db_context_impl.h File content/browser/indexed_db/indexed_db_context_impl.h (right): https://codereview.chromium.org/17518004/diff/5001/content/browser/indexed_db/indexed_db_context_impl.h#newcode45 content/browser/indexed_db/indexed_db_context_impl.h:45: base::MessageLoop* message_loop); On 2013/06/21 16:49:47, jsbell wrote: > On ...
7 years, 6 months ago (2013-06-21 17:38:21 UTC) #7
jsbell
New patch. IndexedDBContext's API is now just [Sequenced]TaskRunner-based. Much nicer, thanks for prompting! There's one ...
7 years, 6 months ago (2013-06-21 18:00:47 UTC) #8
michaeln
generally lgtm https://codereview.chromium.org/17518004/diff/5001/chrome/browser/browsing_data/browsing_data_indexed_db_helper.cc File chrome/browser/browsing_data/browsing_data_indexed_db_helper.cc (right): https://codereview.chromium.org/17518004/diff/5001/chrome/browser/browsing_data/browsing_data_indexed_db_helper.cc#newcode238 chrome/browser/browsing_data/browsing_data_indexed_db_helper.cc:238: IndexedDBInfo info(pending_info->origin, 0, base::Time(), base::FilePath()); Not sure ...
7 years, 6 months ago (2013-06-21 19:35:57 UTC) #9
jam
https://codereview.chromium.org/17518004/diff/26001/content/browser/browser_context.cc File content/browser/browser_context.cc (right): https://codereview.chromium.org/17518004/diff/26001/content/browser/browser_context.cc#newcode244 content/browser/browser_context.cc:244: // No task runner in unit tests. same question ...
7 years, 6 months ago (2013-06-21 19:41:58 UTC) #10
jsbell
https://codereview.chromium.org/17518004/diff/26001/content/browser/indexed_db/indexed_db_quota_client.cc File content/browser/indexed_db/indexed_db_quota_client.cc (right): https://codereview.chromium.org/17518004/diff/26001/content/browser/indexed_db/indexed_db_quota_client.cc#newcode86 content/browser/indexed_db/indexed_db_quota_client.cc:86: // No task runner means unit test; no cleanup ...
7 years, 6 months ago (2013-06-21 20:37:14 UTC) #11
jsbell
https://codereview.chromium.org/17518004/diff/5001/chrome/browser/browsing_data/browsing_data_indexed_db_helper.cc File chrome/browser/browsing_data/browsing_data_indexed_db_helper.cc (right): https://codereview.chromium.org/17518004/diff/5001/chrome/browser/browsing_data/browsing_data_indexed_db_helper.cc#newcode238 chrome/browser/browsing_data/browsing_data_indexed_db_helper.cc:238: IndexedDBInfo info(pending_info->origin, 0, base::Time(), base::FilePath()); On 2013/06/21 19:35:57, michaeln ...
7 years, 6 months ago (2013-06-21 20:39:37 UTC) #12
jam
lgtm, thanks for all the patience with this change :)
7 years, 6 months ago (2013-06-21 20:46:09 UTC) #13
jsbell
TL;DR - I'll post a separate CL which should simplify this one. https://codereview.chromium.org/17518004/diff/5001/chrome/browser/browsing_data/browsing_data_indexed_db_helper.cc File chrome/browser/browsing_data/browsing_data_indexed_db_helper.cc ...
7 years, 6 months ago (2013-06-24 17:50:43 UTC) #14
jsbell
On 2013/06/24 17:50:43, jsbell wrote: > TL;DR - I'll post a separate CL which should ...
7 years, 6 months ago (2013-06-24 18:33:10 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jsbell@chromium.org/17518004/48001
7 years, 6 months ago (2013-06-25 18:38:06 UTC) #16
commit-bot: I haz the power
7 years, 6 months ago (2013-06-25 20:52:52 UTC) #17
Message was sent while issue was closed.
Change committed as 208544

Powered by Google App Engine
This is Rietveld 408576698