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

Unified Diff: apps/shell/browser/shell_extension_system.h

Issue 171523005: BACKUP: NativeAppWindowView - before splitting CL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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/browser/shell_browser_main_parts.cc ('k') | apps/shell/browser/shell_extension_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/shell/browser/shell_extension_system.h
diff --git a/apps/shell/browser/shell_extension_system.h b/apps/shell/browser/shell_extension_system.h
index 85e33926d3123f9f260ec23484b724855eb696e1..39004117cf3f633f07b651414cb5308bd4d1cf78 100644
--- a/apps/shell/browser/shell_extension_system.h
+++ b/apps/shell/browser/shell_extension_system.h
@@ -40,6 +40,9 @@ class ShellExtensionSystem : public ExtensionSystem {
// Returns true on success.
bool LoadAndLaunchApp(const base::FilePath& app_dir);
+ // Closes the running app.
+ void CloseApp();
+
// BrowserContextKeyedService implementation:
virtual void Shutdown() OVERRIDE;
@@ -71,6 +74,9 @@ class ShellExtensionSystem : public ExtensionSystem {
private:
content::BrowserContext* browser_context_; // Not owned.
+ // Extension ID for the app.
+ std::string app_id_;
+
// Data to be accessed on the IO thread. Must outlive process_manager_.
scoped_refptr<InfoMap> info_map_;
« no previous file with comments | « apps/shell/browser/shell_browser_main_parts.cc ('k') | apps/shell/browser/shell_extension_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698