diff options
author | koz@chromium.org <koz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-26 02:30:42 +0000 |
---|---|---|
committer | koz@chromium.org <koz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-26 02:30:42 +0000 |
commit | 0d475e07595527beb2789846ffe70ba680667073 (patch) | |
tree | ca895d320e634ce1ae79422eccec007cff7bac16 /chrome/browser/extensions/lazy_background_task_queue.h | |
parent | 6cda04ba4a062493aa66740a1b49ff217bc90110 (diff) | |
download | chromium_src-0d475e07595527beb2789846ffe70ba680667073.zip chromium_src-0d475e07595527beb2789846ffe70ba680667073.tar.gz chromium_src-0d475e07595527beb2789846ffe70ba680667073.tar.bz2 |
Introduce runtime.onSuspendCanceled() event.
runtime.onSuspendCanceled() is sent after runtime.onSuspend() to indicate that
the extension / app will not be suspended after all.
BUG=136469
Review URL: https://chromiumcodereview.appspot.com/10804020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148490 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/lazy_background_task_queue.h')
-rw-r--r-- | chrome/browser/extensions/lazy_background_task_queue.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/extensions/lazy_background_task_queue.h b/chrome/browser/extensions/lazy_background_task_queue.h index 70d1ac0..04f0b91 100644 --- a/chrome/browser/extensions/lazy_background_task_queue.h +++ b/chrome/browser/extensions/lazy_background_task_queue.h @@ -39,7 +39,9 @@ class LazyBackgroundTaskQueue virtual ~LazyBackgroundTaskQueue(); // Returns true if the task should be added to the queue (that is, if the - // extension has a lazy background page that isn't ready yet). + // extension has a lazy background page that isn't ready yet). If the + // extension has a lazy background page that is being suspended this method + // cancels that suspension. bool ShouldEnqueueTask(Profile* profile, const Extension* extension); // Adds a task to the queue for a given extension. If this is the first |