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

Unified Diff: athena/extensions/shell/extensions_delegate_impl.cc

Issue 501093003: Consolidate AppControllDelegate to ExtensionsDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 | « athena/extensions/public/extensions_delegate.h ('k') | athena/extensions/test/test_extensions_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/extensions/shell/extensions_delegate_impl.cc
diff --git a/athena/extensions/shell/extensions_delegate_impl.cc b/athena/extensions/shell/extensions_delegate_impl.cc
index da3566cca15e2a45bf42caa7bd689cdee600b123..13161779e3f67852a7310498ea2d4471ddde70ad 100644
--- a/athena/extensions/shell/extensions_delegate_impl.cc
+++ b/athena/extensions/shell/extensions_delegate_impl.cc
@@ -30,10 +30,13 @@ class ShellExtensionsDelegate : public ExtensionsDelegate {
shell_extensions_.Insert(extension_system_->extension());
return shell_extensions_;
}
- virtual void LaunchApp(const std::string& app_id) OVERRIDE {
+ virtual bool LaunchApp(const std::string& app_id) OVERRIDE {
extension_system_->LaunchApp();
+ return true;
}
+ virtual bool UnloadApp(const std::string& app_id) OVERRIDE { return false; }
+
content::BrowserContext* context_;
extensions::ShellExtensionSystem* extension_system_;
extensions::ExtensionSet shell_extensions_;
« no previous file with comments | « athena/extensions/public/extensions_delegate.h ('k') | athena/extensions/test/test_extensions_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698