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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 448033002: Eliminate the dependency of Profile from TtsMessageFilter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replace Profile by BrowserContext Created 6 years, 4 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
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 918dd04f2a40139730d3867c91528d5d467fbeea..26d1f3a04efa9f0de4f71809e1bf396fe8ea6952 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -800,7 +800,7 @@ void ChromeContentBrowserClient::RenderProcessWillLaunch(
#endif
host->AddFilter(new ChromeNetBenchmarkingMessageFilter(profile, context));
host->AddFilter(new prerender::PrerenderMessageFilter(id, profile));
- host->AddFilter(new TtsMessageFilter(id, profile));
+ host->AddFilter(new TtsMessageFilter(id, host->GetBrowserContext()));
dmazzoni 2014/08/12 06:21:08 A profile is a browser context, so I don't think y
mrunal 2014/08/12 17:40:58 I agree but once I move TtsMessageFilter to conten
#if defined(ENABLE_WEBRTC)
WebRtcLoggingHandlerHost* webrtc_logging_handler_host =
new WebRtcLoggingHandlerHost(profile);

Powered by Google App Engine
This is Rietveld 408576698