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

Unified Diff: chrome/browser/extensions/extension_service.h

Issue 10641017: make "reload" on chrome://extensions automatically relaunch running apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android compile Created 8 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 | « no previous file | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_service.h
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
index 2f5be179ac381e983104d04e588e2949bc4892f4..6d5997cb576e81752782cf571cb7cb74fbc3e945 100644
--- a/chrome/browser/extensions/extension_service.h
+++ b/chrome/browser/extensions/extension_service.h
@@ -711,6 +711,11 @@ class ExtensionService
NaClModuleInfoList::iterator FindNaClModule(const GURL& url);
+ // Enqueues a launch task in the lazy background page queue.
+ void QueueRestoreAppWindow(const extensions::Extension* extension);
+ // Launches the platform app associated with |extension_host|.
+ static void LaunchApplication(extensions::ExtensionHost* extension_host);
+
// The normal profile associated with this ExtensionService.
Profile* profile_;
@@ -783,6 +788,10 @@ class ExtensionService
typedef std::map<std::string, int> OrphanedDevTools;
OrphanedDevTools orphaned_dev_tools_;
+ // A set of apps that had an open window the last time they were reloaded.
+ // A new window will be launched when the app is succesfully reloaded.
+ std::set<std::string> relaunch_app_ids_;
+
content::NotificationRegistrar registrar_;
PrefChangeRegistrar pref_change_registrar_;
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698