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

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

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 2 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.cc
diff --git a/chrome/browser/extensions/extension_event_router.cc b/chrome/browser/extensions/extension_event_router.cc
index abd8f031ab5b0eff2ced9a1983db2c35ed5a0023..b0421493c89114939dc6359917b789328a1e258e 100644
--- a/chrome/browser/extensions/extension_event_router.cc
+++ b/chrome/browser/extensions/extension_event_router.cc
@@ -31,6 +31,7 @@
#include "content/public/browser/render_process_host.h"
using content::BrowserThread;
+using extensions::Extension;
using extensions::ExtensionAPI;
namespace {
@@ -482,8 +483,8 @@ void ExtensionEventRouter::Observe(
}
case chrome::NOTIFICATION_EXTENSION_UNLOADED: {
// Remove all registered lazy listeners from our cache.
- UnloadedExtensionInfo* unloaded =
- content::Details<UnloadedExtensionInfo>(details).ptr();
+ extensions::UnloadedExtensionInfo* unloaded =
+ content::Details<extensions::UnloadedExtensionInfo>(details).ptr();
ListenerProcess lazy_listener(NULL, unloaded->extension->id());
for (ListenerMap::iterator it = lazy_listeners_.begin();
it != lazy_listeners_.end(); ++it) {

Powered by Google App Engine
This is Rietveld 408576698