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

Unified Diff: chrome/browser/extensions/extension_event_router.h

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 6 Created 8 years, 7 months 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: 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);
« no previous file with comments | « chrome/browser/extensions/extension_disabled_ui_browsertest.cc ('k') | chrome/browser/extensions/extension_event_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698