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

Issue 2142413003: Adding Discarded property support for onUpdate function. (Closed)

Created:
4 years, 5 months ago by Anderson Silva
Modified:
4 years, 4 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@API_Discarded
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding Discarded property support for onUpdate function. BUG=621070 Committed: https://crrev.com/94afe44e219ad774df9290dd980d6214141a089a Cr-Commit-Position: refs/heads/master@{#408822}

Patch Set 1 #

Total comments: 6

Patch Set 2 : fixed nit #

Patch Set 3 : merged TOT #

Patch Set 4 : test for onUpdated event of discardable property #

Patch Set 5 : nit missing end of line #

Total comments: 17

Patch Set 6 : fixed comments #

Patch Set 7 : todo #

Total comments: 10

Patch Set 8 : nits fixed #

Total comments: 4

Patch Set 9 : nit fixed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -4 lines) Patch
M chrome/browser/extensions/api/tabs/tabs_constants.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/tabs/tabs_constants.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/tabs/tabs_event_router.h View 1 2 3 4 5 4 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/tabs/tabs_event_router.cc View 1 2 3 4 5 3 chunks +18 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_tabs_apitest.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/tabs.json View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
A + chrome/test/data/extensions/api_test/tabs/basics/discarded.html View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
A chrome/test/data/extensions/api_test/tabs/basics/discarded.js View 1 2 3 4 5 6 7 8 1 chunk +74 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (12 generated)
Anderson Silva
ptal
4 years, 5 months ago (2016-07-13 15:44:46 UTC) #3
Georges Khalil
Nice! Only nits so far. Now we need test coverage. https://codereview.chromium.org/2142413003/diff/1/chrome/browser/extensions/api/tabs/tabs_event_router.cc File chrome/browser/extensions/api/tabs/tabs_event_router.cc (right): https://codereview.chromium.org/2142413003/diff/1/chrome/browser/extensions/api/tabs/tabs_event_router.cc#newcode564 ...
4 years, 5 months ago (2016-07-13 15:52:11 UTC) #4
Anderson Silva
fixed nit. looking at tests https://codereview.chromium.org/2142413003/diff/1/chrome/browser/extensions/api/tabs/tabs_event_router.cc File chrome/browser/extensions/api/tabs/tabs_event_router.cc (right): https://codereview.chromium.org/2142413003/diff/1/chrome/browser/extensions/api/tabs/tabs_event_router.cc#newcode564 chrome/browser/extensions/api/tabs/tabs_event_router.cc:564: TabStripModel* tab_strip = NULL; ...
4 years, 5 months ago (2016-07-14 15:13:13 UTC) #5
Anderson Silva
Hi Devlin, can you please take a look at this as well? Even though we ...
4 years, 5 months ago (2016-07-14 17:48:22 UTC) #6
Anderson Silva
On 2016/07/14 17:48:22, Anderson Silva wrote: > Hi Devlin, can you please take a look ...
4 years, 5 months ago (2016-07-14 17:52:32 UTC) #8
Devlin
On 2016/07/14 17:52:32, Anderson Silva wrote: > On 2016/07/14 17:48:22, Anderson Silva wrote: > > ...
4 years, 5 months ago (2016-07-15 15:12:08 UTC) #9
Georges Khalil
On 2016/07/15 15:12:08, Devlin wrote: > On 2016/07/14 17:52:32, Anderson Silva wrote: > > On ...
4 years, 5 months ago (2016-07-15 18:17:30 UTC) #10
Anderson Silva
Hi Devlin, Can you please take a look at this CL? Now that we have ...
4 years, 4 months ago (2016-07-29 15:32:44 UTC) #14
Devlin
Mostly just small stuff. https://codereview.chromium.org/2142413003/diff/100001/chrome/browser/extensions/api/tabs/tabs_event_router.cc File chrome/browser/extensions/api/tabs/tabs_event_router.cc (right): https://codereview.chromium.org/2142413003/diff/100001/chrome/browser/extensions/api/tabs/tabs_event_router.cc#newcode146 chrome/browser/extensions/api/tabs/tabs_event_router.cc:146: if (g_browser_process->GetTabManager()) Document when this ...
4 years, 4 months ago (2016-07-29 16:01:09 UTC) #15
Anderson Silva
https://codereview.chromium.org/2142413003/diff/100001/chrome/browser/extensions/api/tabs/tabs_event_router.cc File chrome/browser/extensions/api/tabs/tabs_event_router.cc (right): https://codereview.chromium.org/2142413003/diff/100001/chrome/browser/extensions/api/tabs/tabs_event_router.cc#newcode146 chrome/browser/extensions/api/tabs/tabs_event_router.cc:146: if (g_browser_process->GetTabManager()) On 2016/07/29 16:01:09, Devlin wrote: > Document ...
4 years, 4 months ago (2016-07-29 19:06:00 UTC) #16
Devlin
(Just responding) https://codereview.chromium.org/2142413003/diff/100001/chrome/browser/extensions/api/tabs/tabs_event_router.cc File chrome/browser/extensions/api/tabs/tabs_event_router.cc (right): https://codereview.chromium.org/2142413003/diff/100001/chrome/browser/extensions/api/tabs/tabs_event_router.cc#newcode152 chrome/browser/extensions/api/tabs/tabs_event_router.cc:152: g_browser_process->GetTabManager()->RemoveObserver(this); On 2016/07/29 19:05:59, Anderson Silva wrote: ...
4 years, 4 months ago (2016-07-29 20:17:33 UTC) #17
Anderson Silva
On 2016/07/29 20:17:33, Devlin wrote: > (Just responding) > > https://codereview.chromium.org/2142413003/diff/100001/chrome/browser/extensions/api/tabs/tabs_event_router.cc > File chrome/browser/extensions/api/tabs/tabs_event_router.cc (right): ...
4 years, 4 months ago (2016-07-29 20:48:11 UTC) #18
Devlin
Cool! Just some last nits, mostly around confusing JS formatting. (We're already pretty inconsistent in ...
4 years, 4 months ago (2016-07-29 21:23:40 UTC) #19
Devlin
On 2016/07/29 20:48:11, Anderson Silva wrote: > https://codereview.chromium.org/2142413003/diff/100001/chrome/browser/extensions/api/tabs/tabs_event_router.cc#newcode567 > > chrome/browser/extensions/api/tabs/tabs_event_router.cc:567: if > > (ExtensionTabUtil::GetTabStripModel(contents, ...
4 years, 4 months ago (2016-07-29 21:24:31 UTC) #20
Anderson Silva
https://codereview.chromium.org/2142413003/diff/140001/chrome/test/data/extensions/api_test/tabs/basics/discarded.js File chrome/test/data/extensions/api_test/tabs/basics/discarded.js (right): https://codereview.chromium.org/2142413003/diff/140001/chrome/test/data/extensions/api_test/tabs/basics/discarded.js#newcode12 chrome/test/data/extensions/api_test/tabs/basics/discarded.js:12: pass(function (winId, tabIds) { On 2016/07/29 21:23:40, Devlin wrote: ...
4 years, 4 months ago (2016-07-29 22:12:24 UTC) #21
Devlin
cool, lgtm! https://codereview.chromium.org/2142413003/diff/160001/chrome/test/data/extensions/api_test/tabs/basics/discarded.js File chrome/test/data/extensions/api_test/tabs/basics/discarded.js (right): https://codereview.chromium.org/2142413003/diff/160001/chrome/test/data/extensions/api_test/tabs/basics/discarded.js#newcode31 chrome/test/data/extensions/api_test/tabs/basics/discarded.js:31: // Make sure it's the right tab. ...
4 years, 4 months ago (2016-07-29 22:23:25 UTC) #24
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/2142413003/180001
4 years, 4 months ago (2016-07-29 22:35:31 UTC) #27
Anderson Silva
great, thanks! sending to CQ https://codereview.chromium.org/2142413003/diff/160001/chrome/test/data/extensions/api_test/tabs/basics/discarded.js File chrome/test/data/extensions/api_test/tabs/basics/discarded.js (right): https://codereview.chromium.org/2142413003/diff/160001/chrome/test/data/extensions/api_test/tabs/basics/discarded.js#newcode31 chrome/test/data/extensions/api_test/tabs/basics/discarded.js:31: // Make sure it's ...
4 years, 4 months ago (2016-07-29 22:35:42 UTC) #28
commit-bot: I haz the power
Committed patchset #9 (id:180001)
4 years, 4 months ago (2016-07-30 00:48:23 UTC) #30
commit-bot: I haz the power
4 years, 4 months ago (2016-07-30 00:49:59 UTC) #32
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/94afe44e219ad774df9290dd980d6214141a089a
Cr-Commit-Position: refs/heads/master@{#408822}

Powered by Google App Engine
This is Rietveld 408576698