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

Issue 13949013: Implement download link in chrome://indexeddb-internals/ (Closed)

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

Description

Implement download link in chrome://indexeddb-internals/ This closes all IDB connections for the given origin, zips up the files and "downloads" them by initiating the download manager. This must bounce events through a number of threads to manage temporary files, callbacks into JavaScript, etc. BUG=174188 TBR=jsbell@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198469

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : Don't change public interface #

Patch Set 5 : Improve constness for thread-proxied calls #

Total comments: 4

Patch Set 6 : #

Patch Set 7 : Update to reflect new zip/ location #

Total comments: 4

Patch Set 8 : #

Patch Set 9 : Update to reflect new zip location #

Patch Set 10 : Update to ToT #

Patch Set 11 : Fix #includes again #

Patch Set 12 : fix unused return value #

Patch Set 13 : fix windows build #

Patch Set 14 : use FILE_PATH_LITERAL #

Unified diffs Side-by-side diffs Delta from patch set Stats (+302 lines, -43 lines) Patch
M content/DEPS View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/indexed_db/indexed_db_context_impl.h View 1 2 3 4 5 6 7 5 chunks +13 lines, -12 lines 0 comments Download
M content/browser/indexed_db/indexed_db_context_impl.cc View 1 2 3 4 5 6 7 8 9 5 chunks +30 lines, -21 lines 0 comments Download
M content/browser/indexed_db/indexed_db_internals_ui.h View 1 2 3 4 3 chunks +20 lines, -2 lines 0 comments Download
M content/browser/indexed_db/indexed_db_internals_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +191 lines, -2 lines 0 comments Download
M content/browser/resources/indexed_db/indexeddb_internals.html View 2 chunks +8 lines, -2 lines 0 comments Download
M content/browser/resources/indexed_db/indexeddb_internals.js View 1 chunk +38 lines, -4 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
alecflett
So I'm happy with the implementation, but not happy with the new dependency. I'm adding ...
7 years, 8 months ago (2013-04-16 22:50:43 UTC) #1
jam
few comments: -as a rule, src\content can't include src\components. i understand that this particular component ...
7 years, 8 months ago (2013-04-16 23:00:24 UTC) #2
alecflett
On 2013/04/16 23:00:24, jam wrote: > few comments: > -as a rule, src\content can't include ...
7 years, 8 months ago (2013-04-16 23:31:13 UTC) #3
dgrogan
moving zip to base was briefly mentioned in https://codereview.chromium.org/13257004
7 years, 8 months ago (2013-04-16 23:32:31 UTC) #4
jam
On 2013/04/16 23:31:13, alecflett wrote: > On 2013/04/16 23:00:24, jam wrote: > > few comments: ...
7 years, 8 months ago (2013-04-17 16:41:22 UTC) #5
alecflett
On 2013/04/17 16:41:22, jam wrote: > On 2013/04/16 23:31:13, alecflett wrote: > > On 2013/04/16 ...
7 years, 8 months ago (2013-04-17 22:08:34 UTC) #6
jsbell
Minor style nits. Logic seems fine. https://codereview.chromium.org/13949013/diff/11009/content/browser/indexed_db/indexed_db_internals_ui.cc File content/browser/indexed_db/indexed_db_internals_ui.cc (right): https://codereview.chromium.org/13949013/diff/11009/content/browser/indexed_db/indexed_db_internals_ui.cc#newcode229 content/browser/indexed_db/indexed_db_internals_ui.cc:229: LOG(ERROR) << "Origin ...
7 years, 8 months ago (2013-04-18 22:08:52 UTC) #7
alecflett
ok, this has been cleaned up to address review comments and use the new location ...
7 years, 7 months ago (2013-04-29 17:22:59 UTC) #8
jsbell
lgtm https://codereview.chromium.org/13949013/diff/20001/content/browser/indexed_db/indexed_db_context_impl.h File content/browser/indexed_db/indexed_db_context_impl.h (left): https://codereview.chromium.org/13949013/diff/20001/content/browser/indexed_db/indexed_db_context_impl.h#oldcode115 content/browser/indexed_db/indexed_db_context_impl.h:115: bool IsInOriginSet(const GURL& origin_url) { Just a minor ...
7 years, 7 months ago (2013-04-29 19:16:13 UTC) #9
alecflett
idb issues fixed. https://codereview.chromium.org/13949013/diff/20001/content/browser/indexed_db/indexed_db_context_impl.h File content/browser/indexed_db/indexed_db_context_impl.h (left): https://codereview.chromium.org/13949013/diff/20001/content/browser/indexed_db/indexed_db_context_impl.h#oldcode115 content/browser/indexed_db/indexed_db_context_impl.h:115: bool IsInOriginSet(const GURL& origin_url) { On ...
7 years, 7 months ago (2013-04-29 22:28:15 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alecflett@chromium.org/13949013/34001
7 years, 7 months ago (2013-05-03 23:18:17 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alecflett@chromium.org/13949013/34001
7 years, 7 months ago (2013-05-04 01:52:49 UTC) #12
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 7 months ago (2013-05-04 02:54:38 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alecflett@chromium.org/13949013/53001
7 years, 7 months ago (2013-05-04 04:21:38 UTC) #14
commit-bot: I haz the power
Retried try job too often on ios_rel_device for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_rel_device&number=47019
7 years, 7 months ago (2013-05-04 05:07:59 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alecflett@chromium.org/13949013/53001
7 years, 7 months ago (2013-05-04 05:13:49 UTC) #16
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 7 months ago (2013-05-04 05:24:45 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alecflett@chromium.org/13949013/73001
7 years, 7 months ago (2013-05-04 05:24:49 UTC) #18
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) base_unittests, compile, content_unittests, crypto_unittests, googleurl_unittests, media_unittests, ...
7 years, 7 months ago (2013-05-04 06:05:25 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alecflett@chromium.org/13949013/77002
7 years, 7 months ago (2013-05-04 06:09:19 UTC) #20
commit-bot: I haz the power
Retried try job too often on ios_rel_device for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_rel_device&number=47034
7 years, 7 months ago (2013-05-04 06:40:22 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alecflett@chromium.org/13949013/77002
7 years, 7 months ago (2013-05-04 13:28:27 UTC) #22
commit-bot: I haz the power
Retried try job too often on ios_rel_device for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_rel_device&number=47046
7 years, 7 months ago (2013-05-04 13:59:13 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alecflett@chromium.org/13949013/77002
7 years, 7 months ago (2013-05-05 05:03:20 UTC) #24
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) base_unittests, compile, content_unittests, crypto_unittests, googleurl_unittests, media_unittests, ...
7 years, 7 months ago (2013-05-05 05:16:03 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alecflett@chromium.org/13949013/77002
7 years, 7 months ago (2013-05-06 12:47:51 UTC) #26
commit-bot: I haz the power
Retried try job too often on ios_rel_device for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_rel_device&number=47198
7 years, 7 months ago (2013-05-06 13:03:21 UTC) #27
alecflett
7 years, 7 months ago (2013-05-06 16:26:29 UTC) #28
Message was sent while issue was closed.
Committed patchset #14 manually as r198469 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698