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 35008a2c1da1f0f8228f169e86ee75ab9f65cf4a..36d83559a0136488bb67b34fcd4e76381984ac69 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); |