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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 2582203003: Convert SetContentSettingRules to use mojo, part 1/2. (Closed)
Patch Set: Convert SetContentSettingRules to use mojo, part 1/2. 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 0acf00e95ff87db52eb55aaea3f4f5a51e42883b..e431421a72c20a191c481937e3edf4bf53965773 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