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

Unified Diff: chrome/browser/ui/ash/chrome_shell_delegate.cc

Issue 634313004: Display dialog when app install succeeds / fails on Athena (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/ui/ash/chrome_shell_delegate.cc
diff --git a/chrome/browser/ui/ash/chrome_shell_delegate.cc b/chrome/browser/ui/ash/chrome_shell_delegate.cc
index 3d47b36766ba9413f1314c52c1b1f76893f04744..38117659e42ba41a03397f5cddd45274ef7a1a8d 100644
--- a/chrome/browser/ui/ash/chrome_shell_delegate.cc
+++ b/chrome/browser/ui/ash/chrome_shell_delegate.cc
@@ -101,9 +101,13 @@ content::BrowserContext* ChromeShellDelegate::GetActiveBrowserContext() {
}
app_list::AppListViewDelegate* ChromeShellDelegate::GetAppListViewDelegate() {
+#if defined(USE_ATHENA)
+ return NULL;
+#else
DCHECK(ash::Shell::HasInstance());
return AppListServiceAsh::GetInstance()->GetViewDelegate(
Profile::FromBrowserContext(GetActiveBrowserContext()));
+#endif
}
ash::ShelfDelegate* ChromeShellDelegate::CreateShelfDelegate(

Powered by Google App Engine
This is Rietveld 408576698