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

Unified Diff: chrome/browser/content_settings/content_settings_platform_app_provider.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/content_settings/content_settings_platform_app_provider.cc
diff --git a/chrome/browser/content_settings/content_settings_platform_app_provider.cc b/chrome/browser/content_settings/content_settings_platform_app_provider.cc
index 53e0386d9379bd634f4143a2c714583b0af0d0ae..f95b4708a1179aafef49152ae7d4a54e0c15852e 100644
--- a/chrome/browser/content_settings/content_settings_platform_app_provider.cc
+++ b/chrome/browser/content_settings/content_settings_platform_app_provider.cc
@@ -16,6 +16,8 @@
#include "content/public/browser/notification_details.h"
#include "content/public/browser/notification_service.h"
+using extensions::UnloadedExtensionInfo;
+
namespace content_settings {
PlatformAppProvider::PlatformAppProvider(ExtensionService* extension_service)
@@ -64,7 +66,8 @@ void PlatformAppProvider::Observe(int type,
break;
}
case chrome::NOTIFICATION_EXTENSION_LOADED: {
- const Extension* extension = content::Details<Extension>(details).ptr();
+ const extensions::Extension* extension =
+ content::Details<extensions::Extension>(details).ptr();
if (extension->plugins().size() > 0)
SetContentSettingForExtension(extension, CONTENT_SETTING_ALLOW);
break;
@@ -88,7 +91,7 @@ void PlatformAppProvider::ShutdownOnUIThread() {
}
void PlatformAppProvider::SetContentSettingForExtension(
- const Extension* extension,
+ const extensions::Extension* extension,
ContentSetting setting) {
scoped_ptr<ContentSettingsPattern::BuilderInterface> pattern_builder(
ContentSettingsPattern::CreateBuilder(false));

Powered by Google App Engine
This is Rietveld 408576698