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

Issue 1956813002: [Part 1 of 6] Move MockWebContentsTaskManager into its own file. (Closed)

Created:
4 years, 7 months ago by ncarter (slow)
Modified:
4 years, 7 months ago
Reviewers:
afakhry, Lei Zhang
CC:
chromium-reviews, davidben+watch_chromium.org, extensions-reviews_chromium.org, cbentzel+watch_chromium.org, jennb, tburkard+watch_chromium.org, Dmitry Titov, dcheng, gavinp+prer_chromium.org, jianli, devtools-reviews_chromium.org, chromium-apps-reviews_chromium.org, pfeldman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move MockWebContentsTaskManager into its own file. [splitting apart task_manager_browsertest_util, part 1 of 6] Move MockWebContentsTaskManager into its own file, and compile it only into the browser_tests target. Remove the mostly redundant task manager PanelBrowserTests (these are actually interactive_ui_tests). Extend TaskManagerBrowserTest.NoticePanel to replace lost coverage. BUG=606963 Committed: https://crrev.com/25814be52a98fde4623a239cd847bfbbc54a6df0 Cr-Commit-Position: refs/heads/master@{#392428}

Patch Set 1 #

Patch Set 2 : Move gypi comment up. #

Total comments: 1

Patch Set 3 : Move to chrome_tests.gypi #

Patch Set 4 : Remove panel_browsertest.cc #

Patch Set 5 : Extend coverage of TaskManagerBrowserTest.NoticePanel to replace the coverage that had been in pane… #

Total comments: 3

Patch Set 6 : Add Show() / ShowInactive() coverage. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -215 lines) Patch
M chrome/browser/apps/guest_view/web_view_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prerender/prerender_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/printing/print_preview_dialog_controller_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
A + chrome/browser/task_management/mock_web_contents_task_manager.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + chrome/browser/task_management/mock_web_contents_task_manager.cc View 1 2 3 2 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/task_management/providers/web_contents/background_contents_tag_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/task_management/providers/web_contents/devtools_tag_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/task_management/providers/web_contents/extension_tag_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/task_management/providers/web_contents/subframe_task_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/task_management/providers/web_contents/tab_contents_tag_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/task_management/task_management_browsertest_util.h View 1 chunk +0 lines, -41 lines 0 comments Download
D chrome/browser/task_management/task_management_browsertest_util.cc View 1 chunk +0 lines, -48 lines 0 comments Download
M chrome/browser/task_manager/task_manager_browsertest.cc View 1 2 3 4 5 6 chunks +40 lines, -15 lines 0 comments Download
M chrome/browser/ui/panels/panel_browsertest.cc View 1 2 3 2 chunks +0 lines, -90 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 2 chunks +1 line, -3 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 20 (10 generated)
ncarter (slow)
Ahmed, please review.
4 years, 7 months ago (2016-05-06 17:30:17 UTC) #2
ncarter (slow)
https://codereview.chromium.org/1956813002/diff/20001/chrome/chrome_browser.gypi File chrome/chrome_browser.gypi (right): https://codereview.chromium.org/1956813002/diff/20001/chrome/chrome_browser.gypi#newcode3020 chrome/chrome_browser.gypi:3020: 'browser/task_management/mock_web_contents_task_manager.h', Actually, come to think of it: these are ...
4 years, 7 months ago (2016-05-06 18:49:12 UTC) #4
afakhry
lgtm with one comment. https://codereview.chromium.org/1956813002/diff/80001/chrome/browser/task_manager/task_manager_browsertest.cc File chrome/browser/task_manager/task_manager_browsertest.cc (right): https://codereview.chromium.org/1956813002/diff/80001/chrome/browser/task_manager/task_manager_browsertest.cc#newcode330 chrome/browser/task_manager/task_manager_browsertest.cc:330: PanelManager::CREATE_AS_DETACHED); Can you also create ...
4 years, 7 months ago (2016-05-06 23:52:03 UTC) #7
ncarter (slow)
https://codereview.chromium.org/1956813002/diff/80001/chrome/browser/task_manager/task_manager_browsertest.cc File chrome/browser/task_manager/task_manager_browsertest.cc (right): https://codereview.chromium.org/1956813002/diff/80001/chrome/browser/task_manager/task_manager_browsertest.cc#newcode330 chrome/browser/task_manager/task_manager_browsertest.cc:330: PanelManager::CREATE_AS_DETACHED); On 2016/05/06 23:52:02, afakhry wrote: > Can you ...
4 years, 7 months ago (2016-05-09 16:43:03 UTC) #8
ncarter (slow)
Lei, please review for chrome/ OWNERS
4 years, 7 months ago (2016-05-09 16:45:12 UTC) #10
afakhry
https://codereview.chromium.org/1956813002/diff/80001/chrome/browser/task_manager/task_manager_browsertest.cc File chrome/browser/task_manager/task_manager_browsertest.cc (right): https://codereview.chromium.org/1956813002/diff/80001/chrome/browser/task_manager/task_manager_browsertest.cc#newcode330 chrome/browser/task_manager/task_manager_browsertest.cc:330: PanelManager::CREATE_AS_DETACHED); On 2016/05/09 16:43:03, ncarter wrote: > On 2016/05/06 ...
4 years, 7 months ago (2016-05-09 17:35:36 UTC) #11
Lei Zhang
lgtm I did some light editing on the CL description to fit within 72 columns ...
4 years, 7 months ago (2016-05-09 21:33:25 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1956813002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1956813002/100001
4 years, 7 months ago (2016-05-09 21:35:48 UTC) #16
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 7 months ago (2016-05-09 22:00:50 UTC) #18
commit-bot: I haz the power
4 years, 7 months ago (2016-05-09 22:03:32 UTC) #20
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/25814be52a98fde4623a239cd847bfbbc54a6df0
Cr-Commit-Position: refs/heads/master@{#392428}

Powered by Google App Engine
This is Rietveld 408576698