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

Unified Diff: chrome/browser/ui/browser.cc

Issue 9521013: Remove web intents from Chrome on Android build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added a TODO to remove ifdef block Created 8 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/ui/tab_contents/tab_contents_wrapper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index f8a99437c864cc2a7c13e7ff4df043fc7f26eb11..d1b27667d457895e20764c0258332e526f85c2b9 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -4183,6 +4183,9 @@ void Browser::RegisterIntentHandler(WebContents* tab,
void Browser::WebIntentDispatch(
WebContents* tab, content::WebIntentsDispatcher* intents_dispatcher) {
+ // TODO(yfriedman): remove OS_ANDROID clause when browser is excluded from
+ // Android build.
+#if !defined(OS_ANDROID)
Greg Billock 2012/02/29 00:47:22 Why not just ensure that web_intents::IsWebIntents
Jesse Greenwald 2012/02/29 17:59:41 We're trying to keep our binary size as small as p
if (!web_intents::IsWebIntentsEnabled())
return;
@@ -4193,6 +4196,7 @@ void Browser::WebIntentDispatch(
this,
intents_dispatcher->GetIntent().action,
intents_dispatcher->GetIntent().type);
+#endif
}
void Browser::FindReply(WebContents* tab,
« no previous file with comments | « no previous file | chrome/browser/ui/tab_contents/tab_contents_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698