summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_event_router.h
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-21 03:02:34 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-21 03:02:34 +0000
commit1c321ee57a522e891d91a41a09bd900f0afd6f0d (patch)
treebb6e35526d52b50d8e37216e8605c7b4aa08c86a /chrome/browser/extensions/extension_event_router.h
parente2a374f50043586ff684e0720bbbd99b9aa15c07 (diff)
downloadchromium_src-1c321ee57a522e891d91a41a09bd900f0afd6f0d.zip
chromium_src-1c321ee57a522e891d91a41a09bd900f0afd6f0d.tar.gz
chromium_src-1c321ee57a522e891d91a41a09bd900f0afd6f0d.tar.bz2
Move Extension into extensions namespace
BUG=117262 TBR=aa@chromium.org Review URL: https://chromiumcodereview.appspot.com/10375021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138074 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_event_router.h')
-rw-r--r--chrome/browser/extensions/extension_event_router.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/chrome/browser/extensions/extension_event_router.h b/chrome/browser/extensions/extension_event_router.h
index faf80e9..42a649c 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);