diff options
author | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-05 18:56:36 +0000 |
---|---|---|
committer | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-05 18:56:36 +0000 |
commit | 83055ea7ae7cadaf89b28bdfc96c61e7ec6b41a0 (patch) | |
tree | e572e9b5c088db6ee38bc8fe0f179e4982406def /chrome/browser/extensions/lazy_background_task_queue.h | |
parent | 9993310623dcf7a6b9834def8fec39a810ca6693 (diff) | |
download | chromium_src-83055ea7ae7cadaf89b28bdfc96c61e7ec6b41a0.zip chromium_src-83055ea7ae7cadaf89b28bdfc96c61e7ec6b41a0.tar.gz chromium_src-83055ea7ae7cadaf89b28bdfc96c61e7ec6b41a0.tar.bz2 |
Move some of the new transient background page stuff into the extensions
namespace.
Also add ExtensionSytem::Get(Profile*) convenience wrapper.
BUG=no
TEST=no
Review URL: https://chromiumcodereview.appspot.com/9977019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130981 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, 4 insertions, 0 deletions
diff --git a/chrome/browser/extensions/lazy_background_task_queue.h b/chrome/browser/extensions/lazy_background_task_queue.h index 0f4c830..18860fa 100644 --- a/chrome/browser/extensions/lazy_background_task_queue.h +++ b/chrome/browser/extensions/lazy_background_task_queue.h @@ -19,6 +19,8 @@ class Extension; class ExtensionHost; class Profile; +namespace extensions { + // This class maintains a queue of tasks that should execute when an // extension's lazy background page is loaded. It is also in charge of loading // the page when the first task is queued. @@ -66,4 +68,6 @@ class LazyBackgroundTaskQueue : public content::NotificationObserver { PendingTasksMap pending_tasks_; }; +} // namespace extensions + #endif // CHROME_BROWSER_EXTENSIONS_LAZY_BACKGROUND_TASK_QUEUE_H_ |