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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 2582203003: Convert SetContentSettingRules to use mojo, part 1/2. (Closed)
Patch Set: Created 4 years 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/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 2d7a02d61fe879e4dd3f804febcb773bdd14a7b8..213d2af099323c94370716bd44e8ed509d8a9a5a 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -1104,9 +1104,7 @@ void ChromeContentBrowserClient::RenderProcessWillLaunch(
GetRendererContentSettingRules(
HostContentSettingsMapFactory::GetForProfile(profile), &rules);
}
- // TODO(nigeltao): eliminate this legacy IPC. Instead, add an extra arg to
- // the rc_interface->SetInitialConfiguration call.
- host->Send(new ChromeViewMsg_SetContentSettingRules(rules));
+ rc_interface->SetContentSettingRules(rules);
}
GURL ChromeContentBrowserClient::GetEffectiveURL(

Powered by Google App Engine
This is Rietveld 408576698