Index: chrome/browser/extensions/extension_process_manager.h |
diff --git a/chrome/browser/extensions/extension_process_manager.h b/chrome/browser/extensions/extension_process_manager.h |
index eea12952a7f17e03f172bddf37a65fbe880fdebb..53d6ec56fad361e9294bda71ba064a0d0aa78674 100644 |
--- a/chrome/browser/extensions/extension_process_manager.h |
+++ b/chrome/browser/extensions/extension_process_manager.h |
@@ -132,6 +132,9 @@ class ExtensionProcessManager : public content::NotificationObserver { |
void OnNetworkRequestStarted(content::RenderViewHost* render_view_host); |
void OnNetworkRequestDone(content::RenderViewHost* render_view_host); |
+ // Prevent the specified extension from being suspended. |
+ void CancelSuspend(const std::string& extension_id); |
+ |
protected: |
explicit ExtensionProcessManager(Profile* profile); |
@@ -185,7 +188,9 @@ class ExtensionProcessManager : public content::NotificationObserver { |
void OnLazyBackgroundPageIdle(const std::string& extension_id, |
int sequence_id); |
void OnLazyBackgroundPageActive(const std::string& extension_id); |
- void CloseLazyBackgroundPageNow(const std::string& extension_id); |
+ void MaybePostOnLazyBackgroundPageIdle(const std::string& extension_id); |
+ void CloseLazyBackgroundPageNow(const std::string& extension_id, |
+ int sequence_id); |
// Updates a potentially-registered RenderViewHost once it has been |
// associated with a WebContents. This allows us to gather information that |