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

Unified Diff: chrome/browser/extensions/extension_toolbar_model.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_toolbar_model.cc
diff --git a/chrome/browser/extensions/extension_toolbar_model.cc b/chrome/browser/extensions/extension_toolbar_model.cc
index 6d4614db3654f44be3392f4e5a77f3a6f70dbbd2..c7f86d1e6ca37888c2ce1f36e0098514a956e5eb 100644
--- a/chrome/browser/extensions/extension_toolbar_model.cc
+++ b/chrome/browser/extensions/extension_toolbar_model.cc
@@ -15,6 +15,9 @@
#include "content/public/browser/notification_details.h"
#include "content/public/browser/notification_source.h"
+using extensions::Extension;
+using extensions::ExtensionList;
+
ExtensionToolbarModel::ExtensionToolbarModel(ExtensionService* service)
: service_(service),
prefs_(service->profile()->GetPrefs()),
@@ -101,7 +104,8 @@ void ExtensionToolbarModel::Observe(
const Extension* extension = NULL;
if (type == chrome::NOTIFICATION_EXTENSION_UNLOADED) {
- 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