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

Issue 9375024: Get IPC working for Indexed DB in shared workers. (Closed)

Created:
8 years, 10 months ago by dgrogan
Modified:
8 years, 10 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Get IPC working for Indexed DB in shared workers. BUG=112855 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=122231

Patch Set 1 #

Patch Set 2 : re-add webframe check #

Total comments: 6

Patch Set 3 : sync to ToT #

Patch Set 4 : remove param_traits #

Total comments: 4

Patch Set 5 : address comments #

Patch Set 6 : fix build #

Total comments: 1

Patch Set 7 : reorder some methods #

Patch Set 8 : sync to ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -3 lines) Patch
M chrome/browser/profiles/profile_io_data.h View 1 2 3 4 5 6 7 5 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 1 2 3 4 5 6 5 chunks +10 lines, -0 lines 0 comments Download
M content/browser/mock_resource_context.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/mock_resource_context.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/worker_host/worker_process_host.cc View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M content/public/browser/resource_context.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M content/shell/shell_resource_context.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/shell_resource_context.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M content/worker/worker_thread.h View 1 2 3 chunks +3 lines, -1 line 0 comments Download
M content/worker/worker_thread.cc View 1 2 4 chunks +10 lines, -1 line 0 comments Download
M content/worker/worker_webkitplatformsupport_impl.h View 2 chunks +3 lines, -0 lines 0 comments Download
M content/worker/worker_webkitplatformsupport_impl.cc View 1 2 3 4 3 chunks +8 lines, -1 line 0 comments Download

Messages

Total messages: 19 (0 generated)
dgrogan
Most of these files are getting WebKitContext (which holds IndexedDBContext) available to WorkerProcessHost. Before committing ...
8 years, 10 months ago (2012-02-09 22:46:06 UTC) #1
jsbell
lgtm, with comments. Possibly get jam@ to review the render_view check? (git blame says he ...
8 years, 10 months ago (2012-02-09 23:23:56 UTC) #2
michaeln
http://codereview.chromium.org/9375024/diff/1001/content/renderer/indexed_db/indexed_db_dispatcher.cc File content/renderer/indexed_db/indexed_db_dispatcher.cc (left): http://codereview.chromium.org/9375024/diff/1001/content/renderer/indexed_db/indexed_db_dispatcher.cc#oldcode184 content/renderer/indexed_db/indexed_db_dispatcher.cc:184: RenderViewImpl* render_view = RenderViewImpl::FromWebView(web_frame->view()); > I don't know how ...
8 years, 10 months ago (2012-02-09 23:59:40 UTC) #3
michaeln
Passing NULL in the worker case would simplify the IDBFactoryBackendProxy method by a fair amount ...
8 years, 10 months ago (2012-02-10 00:25:52 UTC) #4
dgrogan
This is ready for another look. The interdiffs aren't clear, sorry.
8 years, 10 months ago (2012-02-15 02:15:33 UTC) #5
michaeln
lgtm, can you run some try jobs https://chromiumcodereview.appspot.com/9375024/diff/7002/chrome/browser/profiles/profile_io_data.cc File chrome/browser/profiles/profile_io_data.cc (right): https://chromiumcodereview.appspot.com/9375024/diff/7002/chrome/browser/profiles/profile_io_data.cc#newcode478 chrome/browser/profiles/profile_io_data.cc:478: WebKitContext* ProfileIOData::ResourceContext::GetWebKitContext() ...
8 years, 10 months ago (2012-02-15 03:45:03 UTC) #6
dgrogan
https://chromiumcodereview.appspot.com/9375024/diff/7002/chrome/browser/profiles/profile_io_data.cc File chrome/browser/profiles/profile_io_data.cc (right): https://chromiumcodereview.appspot.com/9375024/diff/7002/chrome/browser/profiles/profile_io_data.cc#newcode478 chrome/browser/profiles/profile_io_data.cc:478: WebKitContext* ProfileIOData::ResourceContext::GetWebKitContext() { On 2012/02/15 03:45:03, michaeln wrote: > ...
8 years, 10 months ago (2012-02-15 08:34:58 UTC) #7
jsbell
lgtm http://codereview.chromium.org/9375024/diff/15001/content/worker/worker_webkitplatformsupport_impl.cc File content/worker/worker_webkitplatformsupport_impl.cc (right): http://codereview.chromium.org/9375024/diff/15001/content/worker/worker_webkitplatformsupport_impl.cc#newcode214 content/worker/worker_webkitplatformsupport_impl.cc:214: web_idb_factory_.reset(new RendererWebIDBFactoryImpl()); This will only ever be called ...
8 years, 10 months ago (2012-02-15 16:44:30 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dgrogan@chromium.org/9375024/15001
8 years, 10 months ago (2012-02-15 17:20:50 UTC) #9
commit-bot: I haz the power
Presubmit check for 9375024-15001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 10 months ago (2012-02-15 17:20:57 UTC) #10
dgrogan
jam, willchan, could you review as OWNERS? willchan: chrome/browser/profiles/ jam: content/
8 years, 10 months ago (2012-02-15 17:49:34 UTC) #11
willchan no longer on Chromium
On 2012/02/15 17:49:34, dgrogan wrote: > jam, willchan, could you review as OWNERS? > > ...
8 years, 10 months ago (2012-02-15 18:26:14 UTC) #12
dgrogan
> I don't actually know what the WebKitContext is, and ideally I'd like it to ...
8 years, 10 months ago (2012-02-15 18:40:11 UTC) #13
willchan no longer on Chromium
On Wed, Feb 15, 2012 at 10:40 AM, <dgrogan@chromium.org> wrote: > I don't actually know ...
8 years, 10 months ago (2012-02-15 18:44:21 UTC) #14
jam
lgtm
8 years, 10 months ago (2012-02-16 00:03:19 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dgrogan@chromium.org/9375024/13003
8 years, 10 months ago (2012-02-16 00:26:08 UTC) #16
commit-bot: I haz the power
Can't apply patch for file chrome/browser/profiles/profile_io_data.h. While running patch -p1 --forward --force; patching file chrome/browser/profiles/profile_io_data.h ...
8 years, 10 months ago (2012-02-16 00:26:13 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dgrogan@chromium.org/9375024/17015
8 years, 10 months ago (2012-02-16 01:31:02 UTC) #18
commit-bot: I haz the power
8 years, 10 months ago (2012-02-16 03:23:43 UTC) #19
Change committed as 122231

Powered by Google App Engine
This is Rietveld 408576698