| Index: chrome/browser/extensions/extension_event_router.h
|
| diff --git a/chrome/browser/extensions/extension_event_router.h b/chrome/browser/extensions/extension_event_router.h
|
| index faf80e924d13b3f8b91e8de00d54b2ddb7bf2281..42a649cfd9a77c7c128f3724cacc9f15ca652cbd 100644
|
| --- a/chrome/browser/extensions/extension_event_router.h
|
| +++ b/chrome/browser/extensions/extension_event_router.h
|
| @@ -18,7 +18,6 @@
|
| #include "ipc/ipc_message.h"
|
|
|
| class GURL;
|
| -class Extension;
|
| class ExtensionHost;
|
| class ExtensionDevToolsManager;
|
| class Profile;
|
| @@ -27,6 +26,10 @@ namespace content {
|
| class RenderProcessHost;
|
| }
|
|
|
| +namespace extensions {
|
| +class Extension;
|
| +}
|
| +
|
| class ExtensionEventRouter : public content::NotificationObserver {
|
| public:
|
| // These constants convey the state of our knowledge of whether we're in
|
| @@ -163,7 +166,7 @@ class ExtensionEventRouter : public content::NotificationObserver {
|
| // the event crosses the incognito boundary.
|
| bool CanDispatchEventToProfile(
|
| Profile* profile,
|
| - const Extension* extension,
|
| + const extensions::Extension* extension,
|
| const linked_ptr<ExtensionEvent>& event,
|
| const std::string** event_args);
|
|
|
| @@ -179,12 +182,13 @@ class ExtensionEventRouter : public content::NotificationObserver {
|
| // dispatch an event.
|
| void MaybeLoadLazyBackgroundPage(
|
| Profile* profile,
|
| - const Extension* extension,
|
| + const extensions::Extension* extension,
|
| const linked_ptr<ExtensionEvent>& event);
|
|
|
| // Track of the number of dispatched events that have not yet sent an
|
| // ACK from the renderer.
|
| - void IncrementInFlightEvents(Profile* profile, const Extension* extension);
|
| + void IncrementInFlightEvents(Profile* profile,
|
| + const extensions::Extension* extension);
|
|
|
| void DispatchPendingEvent(const linked_ptr<ExtensionEvent>& event,
|
| ExtensionHost* host);
|
|
|