Index: extensions/browser/lazy_background_task_queue.h |
diff --git a/extensions/browser/lazy_background_task_queue.h b/extensions/browser/lazy_background_task_queue.h |
index 1840cc8b92725a103ff83fce6620c86ba588fce7..b6c532c8727d907751791f7161a5be2165faa219 100644 |
--- a/extensions/browser/lazy_background_task_queue.h |
+++ b/extensions/browser/lazy_background_task_queue.h |
@@ -18,6 +18,7 @@ |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
#include "extensions/browser/extension_registry_observer.h" |
+#include "extensions/common/extension_id.h" |
namespace content { |
class BrowserContext; |
@@ -72,8 +73,7 @@ class LazyBackgroundTaskQueue : public KeyedService, |
// A map between a BrowserContext/extension_id pair and the queue of tasks |
// pending the load of its background page. |
- typedef std::string ExtensionID; |
- typedef std::pair<content::BrowserContext*, ExtensionID> PendingTasksKey; |
+ typedef std::pair<content::BrowserContext*, ExtensionId> PendingTasksKey; |
typedef std::vector<PendingTask> PendingTasksList; |
using PendingTasksMap = |
std::map<PendingTasksKey, std::unique_ptr<PendingTasksList>>; |