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

Issue 1254103002: New Task Manager - Phase 1.3.5: Implement Extension Task Providing (Closed)

Created:
5 years, 5 months ago by afakhry
Modified:
5 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@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

New Task Manager - Phase 1.3.5: Implement Extension Task Providing CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation R=nick@chromium.org BUG=470994 TEST= Committed: https://crrev.com/31b34aacae32988cc01a0b249722973407912445 Cr-Commit-Position: refs/heads/master@{#342377}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Changed the tagging location as per rdcronin@'s suggestion #

Total comments: 4

Patch Set 3 : Rebase #

Patch Set 4 : Added browser tests #

Total comments: 38

Patch Set 5 : Devlin's comments #

Patch Set 6 : Rebase #

Total comments: 1

Patch Set 7 : Fix compile error on Android #

Patch Set 8 : Passing the extension (if available) to SetViewType() #

Patch Set 9 : Removed the DCHECK() #

Total comments: 1

Patch Set 10 : not passing extensions at all #

Total comments: 6

Patch Set 11 : nit #

Patch Set 12 : Devlin's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+416 lines, -11 lines) Patch
M chrome/browser/apps/guest_view/web_view_browsertest.cc View 1 2 3 4 5 6 7 2 chunks +12 lines, -4 lines 0 comments Download
M chrome/browser/extensions/chrome_extensions_browser_client.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/chrome_extensions_browser_client.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +33 lines, -0 lines 0 comments Download
A chrome/browser/task_management/providers/web_contents/extension_tag.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +38 lines, -0 lines 0 comments Download
A chrome/browser/task_management/providers/web_contents/extension_tag.cc View 1 2 3 4 5 6 7 8 9 1 chunk +36 lines, -0 lines 0 comments Download
A chrome/browser/task_management/providers/web_contents/extension_tag_browsertest.cc View 1 2 3 1 chunk +95 lines, -0 lines 0 comments Download
A chrome/browser/task_management/providers/web_contents/extension_task.h View 1 2 3 4 5 6 7 8 9 1 chunk +43 lines, -0 lines 0 comments Download
A chrome/browser/task_management/providers/web_contents/extension_task.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +83 lines, -0 lines 0 comments Download
M chrome/browser/task_management/providers/web_contents/panel_task.cc View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/task_management/providers/web_contents/renderer_task.h View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/task_management/providers/web_contents/renderer_task.cc View 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/task_management/providers/web_contents/tab_contents_task.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/task_management/web_contents_tags.h View 1 2 3 4 5 6 7 8 9 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/task_management/web_contents_tags.cc View 1 2 3 4 5 6 7 8 9 4 chunks +34 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/extensions_browser_client.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +7 lines, -0 lines 0 comments Download
M extensions/browser/view_type_utils.cc View 1 8 9 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (6 generated)
afakhry
Hey Nick, Could you please take a look at this CL and my comments below. ...
5 years, 5 months ago (2015-07-25 00:50:40 UTC) #1
ncarter (slow)
https://codereview.chromium.org/1254103002/diff/1/chrome/browser/task_management/web_contents_tags.cc File chrome/browser/task_management/web_contents_tags.cc (right): https://codereview.chromium.org/1254103002/diff/1/chrome/browser/task_management/web_contents_tags.cc#newcode113 chrome/browser/task_management/web_contents_tags.cc:113: return; On 2015/07/25 00:50:40, afakhry wrote: > Not liking ...
5 years, 4 months ago (2015-07-27 19:42:35 UTC) #2
afakhry
How about this implementation, Nick?
5 years, 4 months ago (2015-08-03 19:03:33 UTC) #3
ncarter (slow)
I think we're on the right track. https://codereview.chromium.org/1254103002/diff/20001/chrome/browser/task_management/web_contents_tags.cc File chrome/browser/task_management/web_contents_tags.cc (right): https://codereview.chromium.org/1254103002/diff/20001/chrome/browser/task_management/web_contents_tags.cc#newcode63 chrome/browser/task_management/web_contents_tags.cc:63: contents->GetRenderViewHost()->GetSiteInstance()->GetSiteURL(); question ...
5 years, 4 months ago (2015-08-03 21:12:18 UTC) #4
afakhry
I added a couple of browser tests. rdevlin.cronin@chromium.org: Could you please review the below files, ...
5 years, 4 months ago (2015-08-03 23:36:45 UTC) #6
Devlin
https://codereview.chromium.org/1254103002/diff/20001/chrome/browser/task_management/web_contents_tags.cc File chrome/browser/task_management/web_contents_tags.cc (right): https://codereview.chromium.org/1254103002/diff/20001/chrome/browser/task_management/web_contents_tags.cc#newcode63 chrome/browser/task_management/web_contents_tags.cc:63: contents->GetRenderViewHost()->GetSiteInstance()->GetSiteURL(); On 2015/08/03 23:36:45, afakhry wrote: > On 2015/08/03 ...
5 years, 4 months ago (2015-08-04 16:05:07 UTC) #7
afakhry
https://codereview.chromium.org/1254103002/diff/20001/chrome/browser/task_management/web_contents_tags.cc File chrome/browser/task_management/web_contents_tags.cc (right): https://codereview.chromium.org/1254103002/diff/20001/chrome/browser/task_management/web_contents_tags.cc#newcode63 chrome/browser/task_management/web_contents_tags.cc:63: contents->GetRenderViewHost()->GetSiteInstance()->GetSiteURL(); On 2015/08/04 16:05:07, Devlin wrote: > On 2015/08/03 ...
5 years, 4 months ago (2015-08-04 18:31:08 UTC) #8
ncarter (slow)
lgtm https://codereview.chromium.org/1254103002/diff/60001/chrome/browser/task_management/providers/web_contents/extension_task.cc File chrome/browser/task_management/providers/web_contents/extension_task.cc (right): https://codereview.chromium.org/1254103002/diff/60001/chrome/browser/task_management/providers/web_contents/extension_task.cc#newcode25 chrome/browser/task_management/providers/web_contents/extension_task.cc:25: IDR_PLUGINS_FAVICON); On 2015/08/04 16:05:07, Devlin wrote: > Why ...
5 years, 4 months ago (2015-08-04 18:55:19 UTC) #9
afakhry
https://codereview.chromium.org/1254103002/diff/60001/chrome/browser/task_management/providers/web_contents/renderer_task.h File chrome/browser/task_management/providers/web_contents/renderer_task.h (right): https://codereview.chromium.org/1254103002/diff/60001/chrome/browser/task_management/providers/web_contents/renderer_task.h#newcode64 chrome/browser/task_management/providers/web_contents/renderer_task.h:64: bool is_app, On 2015/08/04 18:55:19, ncarter wrote: > On ...
5 years, 4 months ago (2015-08-04 19:02:26 UTC) #10
Devlin
Looks like you have a few failing tests... https://codereview.chromium.org/1254103002/diff/60001/chrome/browser/task_management/providers/web_contents/extension_tag_browsertest.cc File chrome/browser/task_management/providers/web_contents/extension_tag_browsertest.cc (right): https://codereview.chromium.org/1254103002/diff/60001/chrome/browser/task_management/providers/web_contents/extension_tag_browsertest.cc#newcode12 chrome/browser/task_management/providers/web_contents/extension_tag_browsertest.cc:12: class ...
5 years, 4 months ago (2015-08-04 20:22:40 UTC) #11
afakhry
Honestly, I'm not liking passing the extension, but it solves some problems but not all ...
5 years, 4 months ago (2015-08-05 17:20:07 UTC) #12
afakhry
Finally all bots are passing! Now I'm not passing the extension (thanks to a suggestion ...
5 years, 4 months ago (2015-08-06 15:32:36 UTC) #14
lazyboy
web_view_browsertest.cc LGTM https://codereview.chromium.org/1254103002/diff/180001/chrome/browser/task_management/providers/web_contents/extension_tag.h File chrome/browser/task_management/providers/web_contents/extension_tag.h (right): https://codereview.chromium.org/1254103002/diff/180001/chrome/browser/task_management/providers/web_contents/extension_tag.h#newcode29 chrome/browser/task_management/providers/web_contents/extension_tag.h:29: // The extension whose WebContents this tag ...
5 years, 4 months ago (2015-08-06 17:17:45 UTC) #15
afakhry
https://codereview.chromium.org/1254103002/diff/180001/chrome/browser/task_management/providers/web_contents/extension_tag.h File chrome/browser/task_management/providers/web_contents/extension_tag.h (right): https://codereview.chromium.org/1254103002/diff/180001/chrome/browser/task_management/providers/web_contents/extension_tag.h#newcode29 chrome/browser/task_management/providers/web_contents/extension_tag.h:29: // The extension whose WebContents this tag is attached ...
5 years, 4 months ago (2015-08-06 17:34:56 UTC) #16
ncarter (slow)
lgtm
5 years, 4 months ago (2015-08-06 17:36:33 UTC) #17
Devlin
Sorry for the delay on this. A few last comments, but LGTM. If you want ...
5 years, 4 months ago (2015-08-06 17:43:44 UTC) #18
afakhry
Thanks! https://codereview.chromium.org/1254103002/diff/60001/chrome/browser/task_management/providers/web_contents/extension_tag_browsertest.cc File chrome/browser/task_management/providers/web_contents/extension_tag_browsertest.cc (right): https://codereview.chromium.org/1254103002/diff/60001/chrome/browser/task_management/providers/web_contents/extension_tag_browsertest.cc#newcode12 chrome/browser/task_management/providers/web_contents/extension_tag_browsertest.cc:12: class ExtensionTagsTest : public ExtensionBrowserTest { On 2015/08/06 ...
5 years, 4 months ago (2015-08-06 18:01:27 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1254103002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1254103002/220001
5 years, 4 months ago (2015-08-06 18:02:46 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/89824)
5 years, 4 months ago (2015-08-06 19:55:22 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1254103002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1254103002/220001
5 years, 4 months ago (2015-08-07 16:29:50 UTC) #26
commit-bot: I haz the power
Committed patchset #12 (id:220001)
5 years, 4 months ago (2015-08-07 17:56:01 UTC) #27
commit-bot: I haz the power
5 years, 4 months ago (2015-08-07 17:56:49 UTC) #28
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/31b34aacae32988cc01a0b249722973407912445
Cr-Commit-Position: refs/heads/master@{#342377}

Powered by Google App Engine
This is Rietveld 408576698