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

Unified Diff: chrome/browser/extensions/bookmark_app_helper.cc

Issue 2761373002: Move yet more from WmShell to Shell (Closed)
Patch Set: merge 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
Index: chrome/browser/extensions/bookmark_app_helper.cc
diff --git a/chrome/browser/extensions/bookmark_app_helper.cc b/chrome/browser/extensions/bookmark_app_helper.cc
index 7a73d7867c113a0362a5781976f467b029c90ae2..58bfbb4ad3150cd34b5ecc91e3fdab82d5d17c3b 100644
--- a/chrome/browser/extensions/bookmark_app_helper.cc
+++ b/chrome/browser/extensions/bookmark_app_helper.cc
@@ -77,7 +77,7 @@
#if defined(USE_ASH)
#include "ash/common/shelf/shelf_delegate.h" // nogncheck
-#include "ash/common/wm_shell.h" // nogncheck
+#include "ash/shell.h" // nogncheck
#endif
namespace {
@@ -732,7 +732,7 @@ void BookmarkAppHelper::FinishInstallation(const Extension* extension) {
web_app::CreateShortcuts(web_app::SHORTCUT_CREATION_BY_USER,
creation_locations, current_profile, extension);
#else
- ash::ShelfDelegate* shelf_delegate = ash::WmShell::Get()->shelf_delegate();
+ ash::ShelfDelegate* shelf_delegate = ash::Shell::Get()->shelf_delegate();
DCHECK(shelf_delegate);
shelf_delegate->PinAppWithID(extension->id());
#endif // !defined(USE_ASH)

Powered by Google App Engine
This is Rietveld 408576698