Index: chrome/browser/extensions/extension_prefs.h |
diff --git a/chrome/browser/extensions/extension_prefs.h b/chrome/browser/extensions/extension_prefs.h |
index 7da47b69f3ee9c59133d51349d856ca2b62cbae4..933f8b8044fdd225494c7f2cca74293799e8b5fa 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); |