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

Unified Diff: chrome/browser/extensions/platform_app_launcher.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/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

Powered by Google App Engine
This is Rietveld 408576698