Index: extensions/common/event_filter.h |
diff --git a/extensions/common/event_filter.h b/extensions/common/event_filter.h |
index 567c1d0867651121c8e051d56cb4d8f661567207..52bd1b043e36b21ea861811b8280697d925bea06 100644 |
--- a/extensions/common/event_filter.h |
+++ b/extensions/common/event_filter.h |
@@ -6,10 +6,10 @@ |
#define EXTENSIONS_COMMON_EVENT_FILTER_H_ |
#include <map> |
+#include <memory> |
#include <set> |
#include "base/macros.h" |
-#include "base/memory/linked_ptr.h" |
#include "components/url_matcher/url_matcher.h" |
#include "extensions/common/event_filtering_info.h" |
#include "extensions/common/event_matcher.h" |
@@ -88,10 +88,11 @@ class EventFilter { |
}; |
// Maps from a matcher id to an event matcher entry. |
- typedef std::map<MatcherID, linked_ptr<EventMatcherEntry> > EventMatcherMap; |
+ using EventMatcherMap = |
+ std::map<MatcherID, std::unique_ptr<EventMatcherEntry>>; |
// Maps from event name to the map of matchers that are registered for it. |
- typedef std::map<std::string, EventMatcherMap> EventMatcherMultiMap; |
+ using EventMatcherMultiMap = std::map<std::string, EventMatcherMap>; |
// Adds the list of URL filters in |matcher| to the URL matcher, having |
// matches for those URLs map to |id|. |