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

Unified Diff: athena/extensions/public/extensions_delegate.h

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
Index: athena/extensions/public/extensions_delegate.h
diff --git a/athena/extensions/public/extensions_delegate.h b/athena/extensions/public/extensions_delegate.h
index 5fc1b29a2ca5a34177a3845d727ba8d538d2b5bb..394ea827467e4b43a2d91b8ca3b21115c31961fa 100644
--- a/athena/extensions/public/extensions_delegate.h
+++ b/athena/extensions/public/extensions_delegate.h
@@ -11,6 +11,7 @@
namespace content {
class BrowserContext;
+class WebContents;
}
namespace extensions {
@@ -43,8 +44,13 @@ class ATHENA_EXPORT ExtensionsDelegate {
// Returns the set of extensions that are currently installed.
virtual const extensions::ExtensionSet& GetInstalledExtensions() = 0;
- // Launch an application specified by |app_id|.
- virtual void LaunchApp(const std::string& app_id) = 0;
+ // Starts an application. Returns true if the application was
+ // successfully started.
+ virtual bool LaunchApp(const std::string& app_id) = 0;
+
+ // Unload an application. Returns true if the application was
+ // successfully unloaded.
+ virtual bool UnloadApp(const std::string& app_id) = 0;
};
} // namespace athena

Powered by Google App Engine
This is Rietveld 408576698