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

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

Issue 10875027: Restart running apps when chrome restarts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 2 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: chrome/browser/extensions/extension_prefs.h
diff --git a/chrome/browser/extensions/extension_prefs.h b/chrome/browser/extensions/extension_prefs.h
index 0850b36a50d1802e22abf53f5353f65b4f1234d4..90d33b23894245ca45ad5c012f2bf8c47fbcae4c 100644
--- a/chrome/browser/extensions/extension_prefs.h
+++ b/chrome/browser/extensions/extension_prefs.h
@@ -289,6 +289,13 @@ class ExtensionPrefs : public ContentSettingsStore::Observer,
const DictionaryValue* GetFilteredEvents(
const std::string& extension_id) const;
+ // Records whether or not this extension is currently running.
+ void SetExtensionRunning(const std::string& extension_id, bool is_running);
+
+ // Returns whether or not this extension is marked as running. This is used to
+ // restart apps across browser restarts.
+ bool IsExtensionRunning(const std::string& extension_id);
+
// Controls the omnibox default suggestion as set by the extension.
ExtensionOmniboxSuggestion GetOmniboxDefaultSuggestion(
const std::string& extension_id);
« no previous file with comments | « chrome/browser/extensions/app_restore_service_factory.cc ('k') | chrome/browser/extensions/extension_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698