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

Issue 2812693002: mash: Fix controller ownership in LauncherContextMenuTest. (Closed)

Created:
3 years, 8 months ago by msw
Modified:
3 years, 8 months ago
Reviewers:
James Cook
CC:
chromium-reviews, kalyank, sadrul, khmel
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

mash: Fix controller ownership in LauncherContextMenuTest. Similar to https://codereview.chromium.org/2804913002/ Tests should create, but not own the ChromeLauncherControllerImpl. Instead, install the CLC as Shell's ShelfDelegate. Also cleanup: expose command enum, remove friend tests. Fixes the test from https://codereview.chromium.org/2798173002 BUG=557406, 709729 TEST=Automated tests still pass; more closely match production. R=jamescook@chromium.org Review-Url: https://codereview.chromium.org/2812693002 Cr-Commit-Position: refs/heads/master@{#463363} Committed: https://chromium.googlesource.com/chromium/src/+/b88cc04e9b44a1738e3628835338077f49667675

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -43 lines) Patch
M chrome/browser/ui/ash/launcher/launcher_context_menu.h View 4 chunks +17 lines, -36 lines 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc View 4 chunks +10 lines, -7 lines 0 comments Download

Messages

Total messages: 14 (10 generated)
msw
Hey James, please take a look; thanks!
3 years, 8 months ago (2017-04-10 19:02:58 UTC) #5
James Cook
LGTM
3 years, 8 months ago (2017-04-10 19:26:37 UTC) #9
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/2812693002/1
3 years, 8 months ago (2017-04-10 19:28:53 UTC) #11
commit-bot: I haz the power
3 years, 8 months ago (2017-04-10 19:35:50 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/b88cc04e9b44a1738e3628835338...

Powered by Google App Engine
This is Rietveld 408576698