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

Unified Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc

Issue 2065713002: Removing unused GetAppIDForShelfIDConst. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@launcher_controller_mus_order
Patch Set: Created 4 years, 6 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 | « chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc
index 1ae2658ee90e9c88387413605772d6e6b5d58558..0d747cf65333f2ef7bd89d2c08911646af022597 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc
@@ -1096,18 +1096,6 @@ const std::string& ChromeLauncherControllerImpl::GetAppIDForShelfID(
return controller ? controller->app_id() : base::EmptyString();
}
-bool ChromeLauncherControllerImpl::GetAppIDForShelfIDConst(
- ash::ShelfID id,
- std::string* app_id) const {
- auto app = id_to_item_controller_map_.find(id);
- if (app == id_to_item_controller_map_.end()) {
- return false;
- } else {
- *app_id = app->second->app_id();
- return true;
- }
-}
-
void ChromeLauncherControllerImpl::PinAppWithID(const std::string& app_id) {
if (GetPinnable(app_id) == AppListControllerDelegate::PIN_EDITABLE)
DoPinAppWithID(app_id);
« no previous file with comments | « chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698