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

Issue 14308002: Save memory in the downloads extension API. (Closed)

Created:
7 years, 8 months ago by benjhayden
Modified:
7 years, 8 months ago
Reviewers:
Matt Perry
CC:
chromium-reviews, benjhayden+dwatch_chromium.org, Aaron Boodman, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Save memory in the downloads extension API. EDERD is only necessary if there are extensions listening for either onChanged or onDeterminingFilename. BUG=224332 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195233

Patch Set 1 : @r194365 #

Total comments: 4

Patch Set 2 : @r194950 #

Patch Set 3 : @r195142 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -24 lines) Patch
M chrome/browser/extensions/api/downloads/downloads_api.cc View 1 8 chunks +63 lines, -24 lines 0 comments Download
M chrome/browser/extensions/api/downloads/downloads_api_unittest.cc View 1 2 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
benjhayden
I seem to recall you saying that HasEventListeners was not as good as will_dispatch_callback for ...
7 years, 8 months ago (2013-04-16 20:07:41 UTC) #1
not at google - send to devlin
I'm going to punt this to mpcomplete because I don't remember saying that, but it ...
7 years, 8 months ago (2013-04-17 01:33:09 UTC) #2
Matt Perry
HasEventListener is the right thing to use here. will_dispatch_callback was useful for handling incognito specially, ...
7 years, 8 months ago (2013-04-17 02:01:28 UTC) #3
benjhayden
Thanks! https://codereview.chromium.org/14308002/diff/11001/chrome/browser/extensions/api/downloads/downloads_api.cc File chrome/browser/extensions/api/downloads/downloads_api.cc (right): https://codereview.chromium.org/14308002/diff/11001/chrome/browser/extensions/api/downloads/downloads_api.cc#newcode1329 chrome/browser/extensions/api/downloads/downloads_api.cc:1329: extensions::event_names::kOnDownloadDeterminingFilename); On 2013/04/17 02:01:28, Matt Perry wrote: > ...
7 years, 8 months ago (2013-04-18 18:17:55 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benjhayden@chromium.org/14308002/1006
7 years, 8 months ago (2013-04-19 12:39:47 UTC) #5
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 8 months ago (2013-04-19 12:40:49 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benjhayden@chromium.org/14308002/21004
7 years, 8 months ago (2013-04-19 14:36:37 UTC) #7
commit-bot: I haz the power
7 years, 8 months ago (2013-04-19 18:04:49 UTC) #8
Message was sent while issue was closed.
Change committed as 195233

Powered by Google App Engine
This is Rietveld 408576698