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

Issue 2800263002: Revert of mash: Remove ChromeLauncherController's |id_to_item_controller_map_|. (Closed)

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

Description

Revert of mash: Remove ChromeLauncherController's |id_to_item_controller_map_|. (patchset #4 id:60001 of https://codereview.chromium.org/2798173002/ ) Reason for revert: Seems to be causing unit test failures on Linux Chrome OS debug builder, see crbug.com/709729 https://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%28dbg%29%281%29/builds/24583 Original issue's description: > mash: Remove ChromeLauncherController's |id_to_item_controller_map_|. > > Remove CLC::id_to_item_controller_map_; rely on ShelfModel instead. > Skip removing shelf items in CLC destruction; rely on ~ShelfModel instead. > > Remove CLC::[Get|Set]ShelfItemDelegate helpers; inline ShelfModel calls. > Remove moot ShelfModelObserver::OnSetShelfItemDelegate. > > Rename CLC::LauncherItemClosed -> RemoveShelfItem. > Rename test helper GetAppLaunchers -> GetPinnedAppIds. > > Inline ShelfModel::RemoveShelfItemDelegate helper function. > Avoid GetItemIndexForType, use GetShelfIDForAppID instead. > Use ItemTypeIsPinned helper function. > > BUG=557406 > TEST=Automated; no Chrome OS shelf behavior changes. > R=jamescook@chromium.org > > Review-Url: https://codereview.chromium.org/2798173002 > Cr-Commit-Position: refs/heads/master@{#463030} > Committed: https://chromium.googlesource.com/chromium/src/+/4a3c245c97370cf05dcbe6e9dae89936042293b1 TBR=msw@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=557406 Review-Url: https://codereview.chromium.org/2800263002 Cr-Commit-Position: refs/heads/master@{#463122} Committed: https://chromium.googlesource.com/chromium/src/+/f5acfec7937a8d80bea8a35f5056ffbbaca3bffd

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+251 lines, -115 lines) Patch
M ash/common/shelf/shelf_model.cc View 3 chunks +17 lines, -4 lines 0 comments Download
M ash/common/shelf/shelf_model_observer.h View 2 chunks +10 lines, -1 line 0 comments Download
M ash/common/shelf/shelf_model_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ash/common/shelf/shelf_view.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/common/shelf/shelf_view.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.cc View 3 chunks +2 lines, -6 lines 0 comments Download
M chrome/browser/ui/ash/launcher/arc_app_launcher_browsertest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc View 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.h View 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h View 6 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc View 23 chunks +107 lines, -41 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_browsertest.cc View 6 chunks +14 lines, -5 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc View 12 chunks +57 lines, -49 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_mus.h View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_mus.cc View 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/extension_app_window_launcher_controller.cc View 2 chunks +1 line, -3 lines 0 comments Download

Messages

Total messages: 6 (3 generated)
James Cook
Created Revert of mash: Remove ChromeLauncherController's |id_to_item_controller_map_|.
3 years, 8 months ago (2017-04-08 04:41:23 UTC) #2
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/2800263002/1
3 years, 8 months ago (2017-04-08 04:41:29 UTC) #3
commit-bot: I haz the power
3 years, 8 months ago (2017-04-08 04:44:03 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/f5acfec7937a8d80bea8a35f5056...

Powered by Google App Engine
This is Rietveld 408576698