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

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

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_management_api.cc
diff --git a/chrome/browser/extensions/extension_management_api.cc b/chrome/browser/extensions/extension_management_api.cc
index fc74f1aede3e5a24ac40a3d8d83f17a753981eab..b22ba2f5a88ac7a37b9c5fa2ed3798d967902857 100644
--- a/chrome/browser/extensions/extension_management_api.cc
+++ b/chrome/browser/extensions/extension_management_api.cc
@@ -40,6 +40,7 @@ using base::IntToString;
using content::BrowserThread;
using content::UtilityProcessHost;
using content::UtilityProcessHostClient;
+using extensions::Extension;
namespace events = extension_event_names;
namespace keys = extension_management_api_constants;
@@ -489,7 +490,8 @@ void ExtensionManagementEventRouter::Observe(
} else {
const Extension* extension = NULL;
if (event_name == events::kOnExtensionDisabled) {
- extension = content::Details<UnloadedExtensionInfo>(details)->extension;
+ extension = content::Details<extensions::UnloadedExtensionInfo>(
+ details)->extension;
} else {
extension = content::Details<const Extension>(details).ptr();
}

Powered by Google App Engine
This is Rietveld 408576698