Index: chrome/browser/extensions/platform_app_launcher.cc |
diff --git a/chrome/browser/extensions/platform_app_launcher.cc b/chrome/browser/extensions/platform_app_launcher.cc |
index de6fdee90c690e54421db276ea42aef805db1c56..513e54b3812a1091a78b605e0c5fc9edeb053e5c 100644 |
--- a/chrome/browser/extensions/platform_app_launcher.cc |
+++ b/chrome/browser/extensions/platform_app_launcher.cc |
@@ -174,6 +174,7 @@ class PlatformAppPathLauncher |
// TODO(benwells): remove this once we no longer support the "intents" |
// syntax in platform app manifests. |
if (!found_service) { |
+#if defined(ENABLE_WEB_INTENTS) |
std::vector<webkit_glue::WebIntentServiceData> services = |
extensions::WebIntentsInfo::GetIntentsServices(extension_); |
for (size_t i = 0; i < services.size(); i++) { |
@@ -184,6 +185,7 @@ class PlatformAppPathLauncher |
break; |
} |
} |
+#endif |
} |
// If this app doesn't have an intent that supports the file, launch with |