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

Unified Diff: chrome/browser/ui/webui/options2/content_settings_handler2.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 | « chrome/browser/ui/views/web_intent_picker_views.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options2/content_settings_handler2.cc
diff --git a/chrome/browser/ui/webui/options2/content_settings_handler2.cc b/chrome/browser/ui/webui/options2/content_settings_handler2.cc
index 1492385175df56babdcc4cb15a15079664ef298d..7498f62bd2459d08bb742079dc0ec2c05759ee23 100644
--- a/chrome/browser/ui/webui/options2/content_settings_handler2.cc
+++ b/chrome/browser/ui/webui/options2/content_settings_handler2.cc
@@ -302,8 +302,9 @@ void ContentSettingsHandler::GetLocalizedValues(
RegisterTitle(localized_strings, "mouselock",
IDS_MOUSE_LOCK_TAB_LABEL);
+ Profile* profile = Profile::FromWebUI(web_ui());
localized_strings->SetBoolean("enable_web_intents",
- web_intents::IsWebIntentsEnabled());
+ web_intents::IsWebIntentsEnabled(profile));
// TODO(marja): clean up the options UI after the decision on the session
// restore changes has stabilized.
localized_strings->SetBoolean(
« no previous file with comments | « chrome/browser/ui/views/web_intent_picker_views.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698