Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1191)

Unified Diff: extensions/browser/lazy_background_task_queue.h

Issue 2494113003: Do not typedef ExtensionId/ID, since it's already available in extension_id.h (Closed)
Patch Set: fix includes from comments Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>>;
« no previous file with comments | « extensions/browser/api/declarative_webrequest/webrequest_rules_registry.cc ('k') | extensions/browser/quota_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698