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

Unified Diff: chrome/browser/extensions/extension_special_storage_policy.cc

Issue 12089102: Make most code on mac compile with enable_web_intents=0 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ffff Created 7 years, 11 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_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;
}

Powered by Google App Engine
This is Rietveld 408576698