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 017a96361f049935205058d42b0fd29a0fcb7a50..3c5a998d14892368d7e6073458c713f88d60da7b 100644 |
--- a/chrome/browser/extensions/extension_management_api.cc |
+++ b/chrome/browser/extensions/extension_management_api.cc |
@@ -44,6 +44,7 @@ using content::BrowserThread; |
using content::UtilityProcessHost; |
using content::UtilityProcessHostClient; |
using extensions::Extension; |
+using extensions::PermissionMessages; |
namespace events = extension_event_names; |
namespace keys = extension_management_api_constants; |
@@ -195,9 +196,9 @@ bool GetPermissionWarningsByIdFunction::RunImpl() { |
return false; |
} |
- ExtensionPermissionMessages warnings = extension->GetPermissionMessages(); |
+ PermissionMessages warnings = extension->GetPermissionMessages(); |
ListValue* result = new ListValue(); |
- for (ExtensionPermissionMessages::const_iterator i = warnings.begin(); |
+ for (PermissionMessages::const_iterator i = warnings.begin(); |
i < warnings.end(); ++i) |
result->Append(Value::CreateStringValue(i->message())); |
result_.reset(result); |
@@ -319,9 +320,9 @@ void GetPermissionWarningsByManifestFunction::OnParseSuccess( |
return; |
} |
- ExtensionPermissionMessages warnings = extension->GetPermissionMessages(); |
+ PermissionMessages warnings = extension->GetPermissionMessages(); |
ListValue* result = new ListValue(); |
- for (ExtensionPermissionMessages::const_iterator i = warnings.begin(); |
+ for (PermissionMessages::const_iterator i = warnings.begin(); |
i < warnings.end(); ++i) |
result->Append(Value::CreateStringValue(i->message())); |
result_.reset(result); |