Index: chrome/browser/extensions/extension_special_storage_policy.cc |
diff --git a/chrome/browser/extensions/extension_special_storage_policy.cc b/chrome/browser/extensions/extension_special_storage_policy.cc |
index bc998952c20fc3428dfc58c9a32baa1e933463db..e035ff19d0bea97d1f33fa7fc25d4add78ad1328 100644 |
--- a/chrome/browser/extensions/extension_special_storage_policy.cc |
+++ b/chrome/browser/extensions/extension_special_storage_policy.cc |
@@ -28,6 +28,7 @@ namespace { |
bool ExtensionSupportsIntentAction( |
const extensions::Extension* extension, |
const std::string& action) { |
+#if defined(ENABLE_WEB_INTENTS) |
for (std::vector<webkit_glue::WebIntentServiceData>::const_iterator i = |
extensions::WebIntentsInfo::GetIntentsServices(extension).begin(); |
i != extensions::WebIntentsInfo::GetIntentsServices(extension).end(); |
@@ -35,6 +36,7 @@ bool ExtensionSupportsIntentAction( |
if (UTF16ToUTF8(i->action) == action) |
return true; |
} |
+#endif |
return false; |
} |