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

Unified Diff: athena/extensions/chrome/extensions_delegate_impl.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: athena/extensions/chrome/extensions_delegate_impl.cc
diff --git a/athena/extensions/chrome/extensions_delegate_impl.cc b/athena/extensions/chrome/extensions_delegate_impl.cc
index 0d63e50bd2a167fd634a51f01e0be37b87215b6e..0235fd94f4161c1759a64fc2f9a4e702852cc186 100644
--- a/athena/extensions/chrome/extensions_delegate_impl.cc
+++ b/athena/extensions/chrome/extensions_delegate_impl.cc
@@ -6,6 +6,7 @@
#include "athena/activity/public/activity_factory.h"
#include "athena/extensions/chrome/athena_chrome_app_window_client.h"
+#include "athena/extensions/chrome/athena_extension_install_ui.h"
#include "base/macros.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/extensions/extension_service.h"
@@ -89,6 +90,12 @@ class ChromeExtensionsDelegate : public ExtensionsDelegate {
return false;
}
+ virtual scoped_ptr<extensions::ExtensionInstallUI> CreateExtensionInstallUI()
+ override {
+ return scoped_ptr<extensions::ExtensionInstallUI>(
+ new AthenaExtensionInstallUI());
+ }
+
void LaunchV1App(const AppLaunchParams& params,
const extensions::Extension* extension) {
// TODO(oshima): Just activate if the app is already running.
« no previous file with comments | « athena/extensions/chrome/athena_extension_install_ui.cc ('k') | athena/extensions/public/extensions_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698