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

Unified Diff: chrome/browser/content_settings/host_content_settings_map.cc

Issue 10134026: Remove browser from web intents UI code (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Browser test compilation Created 8 years, 8 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/intents/register_intent_handler_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/content_settings/host_content_settings_map.cc
diff --git a/chrome/browser/content_settings/host_content_settings_map.cc b/chrome/browser/content_settings/host_content_settings_map.cc
index fe42c5966679ae099528c8ab3519a83f0e17a1d9..1a28215210c04870f35f78b74ee4557c0da4b87b 100644
--- a/chrome/browser/content_settings/host_content_settings_map.cc
+++ b/chrome/browser/content_settings/host_content_settings_map.cc
@@ -325,7 +325,7 @@ bool HostContentSettingsMap::IsSettingAllowedForType(
// Intents content settings are hidden behind a switch for now.
if (content_type == CONTENT_SETTINGS_TYPE_INTENTS) {
#if defined(ENABLE_WEB_INTENTS)
- if (!web_intents::IsWebIntentsEnabled())
+ if (!web_intents::IsWebIntentsEnabledInActiveBrowser())
return false;
#else
return false;
« no previous file with comments | « no previous file | chrome/browser/intents/register_intent_handler_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698