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

Unified Diff: ash/mus/shelf_delegate_mus.cc

Issue 2771663002: mash: Refactor ChromeLauncherController's ShelfDelegate code. (Closed)
Patch Set: Address comments. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/mus/shelf_delegate_mus.h ('k') | ash/shelf/shelf_view_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/shelf_delegate_mus.cc
diff --git a/ash/mus/shelf_delegate_mus.cc b/ash/mus/shelf_delegate_mus.cc
index 90dd0f91dc864d5ad9f23d6921b52ca531387a90..8136fcc461384f7a61be343c28ef62cf95fb30c3 100644
--- a/ash/mus/shelf_delegate_mus.cc
+++ b/ash/mus/shelf_delegate_mus.cc
@@ -29,10 +29,6 @@ ShelfID ShelfDelegateMus::GetShelfIDForAppIDAndLaunchID(
return ShelfDelegateMus::GetShelfIDForAppID(app_id);
}
-bool ShelfDelegateMus::HasShelfIDToAppIDMapping(ShelfID id) const {
- return Shell::Get()->shelf_controller()->shelf_id_to_app_id().count(id) > 0;
-}
-
const std::string& ShelfDelegateMus::GetAppIDForShelfID(ShelfID id) {
if (Shell::Get()->shelf_controller()->shelf_id_to_app_id().count(id))
return Shell::Get()->shelf_controller()->shelf_id_to_app_id().at(id);
« no previous file with comments | « ash/mus/shelf_delegate_mus.h ('k') | ash/shelf/shelf_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698