Index: chrome/browser/extensions/lazy_background_task_queue.h |
diff --git a/chrome/browser/extensions/lazy_background_task_queue.h b/chrome/browser/extensions/lazy_background_task_queue.h |
index 55980b76b838a96ae07360e151cce06477ee3694..dd612185217cafc41cf7a2c17376106c91df16cf 100644 |
--- a/chrome/browser/extensions/lazy_background_task_queue.h |
+++ b/chrome/browser/extensions/lazy_background_task_queue.h |
@@ -6,13 +6,11 @@ |
#define CHROME_BROWSER_EXTENSIONS_LAZY_BACKGROUND_TASK_QUEUE_H_ |
#include <map> |
-#include <set> |
#include <string> |
#include "base/compiler_specific.h" |
#include "base/callback_forward.h" |
#include "base/memory/linked_ptr.h" |
-#include "base/memory/weak_ptr.h" |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
@@ -28,9 +26,7 @@ class ExtensionHost; |
// |
// It is the consumer's responsibility to use this class when appropriate, i.e. |
// only with extensions that have not-yet-loaded lazy background pages. |
-class LazyBackgroundTaskQueue |
- : public content::NotificationObserver, |
- public base::SupportsWeakPtr<LazyBackgroundTaskQueue> { |
+class LazyBackgroundTaskQueue : public content::NotificationObserver { |
public: |
typedef base::Callback<void(ExtensionHost*)> PendingTask; |
@@ -61,10 +57,6 @@ class LazyBackgroundTaskQueue |
typedef std::vector<PendingTask> PendingTasksList; |
typedef std::map<PendingTasksKey, |
linked_ptr<PendingTasksList> > PendingTasksMap; |
- typedef std::set<PendingTasksKey> PendingPageLoadList; |
- |
- void StartLazyBackgroundPage(Profile* profile, |
- const std::string& extension_id); |
// content::NotificationObserver interface. |
virtual void Observe(int type, |
@@ -81,7 +73,6 @@ class LazyBackgroundTaskQueue |
Profile* profile_; |
content::NotificationRegistrar registrar_; |
PendingTasksMap pending_tasks_; |
- PendingPageLoadList pending_page_loads_; |
}; |
} // namespace extensions |