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

Unified Diff: apps/shell/shell_extension_system.h

Issue 101203008: Allow app_shell to run past extension manifest parsing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup register_manifest Created 6 years, 11 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 | « apps/shell/shell_browser_main_parts.cc ('k') | apps/shell/shell_extension_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/shell/shell_extension_system.h
diff --git a/apps/shell/shell_extension_system.h b/apps/shell/shell_extension_system.h
index ce74d21189d6ef3860326224dc321ee712354b45..acc34f0b573ff7d1b0778f87973500d1de4fab96 100644
--- a/apps/shell/shell_extension_system.h
+++ b/apps/shell/shell_extension_system.h
@@ -9,6 +9,10 @@
#include "chrome/browser/extensions/extension_system.h"
#include "extensions/common/one_shot_event.h"
+namespace base {
+class FilePath;
+}
+
namespace content {
class BrowserContext;
}
@@ -26,6 +30,10 @@ class ShellExtensionSystem : public ExtensionSystem {
explicit ShellExtensionSystem(content::BrowserContext* browser_context);
virtual ~ShellExtensionSystem();
+ // Loads an unpacked application from a directory and attempts to launch it.
+ // Returns true on success.
+ bool LoadAndLaunchApp(const base::FilePath& app_dir);
+
// BrowserContextKeyedService implementation:
virtual void Shutdown() OVERRIDE;
« no previous file with comments | « apps/shell/shell_browser_main_parts.cc ('k') | apps/shell/shell_extension_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698