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

Unified Diff: chrome/browser/printing/printing_message_filter.cc

Issue 165333004: Revert "Allow MessageFilters to restrict listening to specific message classes" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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/printing/printing_message_filter.cc
diff --git a/chrome/browser/printing/printing_message_filter.cc b/chrome/browser/printing/printing_message_filter.cc
index 6911cd32b750d44fa677b010c669a4787babe5e8..0ddeb48e0614fd167faad12f864d680ef72ee73d 100644
--- a/chrome/browser/printing/printing_message_filter.cc
+++ b/chrome/browser/printing/printing_message_filter.cc
@@ -90,8 +90,7 @@ void RenderParamsFromPrintSettings(const printing::PrintSettings& settings,
PrintingMessageFilter::PrintingMessageFilter(int render_process_id,
Profile* profile)
- : BrowserMessageFilter(PrintMsgStart),
- profile_io_data_(ProfileIOData::FromResourceContext(
+ : profile_io_data_(ProfileIOData::FromResourceContext(
profile->GetResourceContext())),
render_process_id_(render_process_id),
queue_(g_browser_process->print_job_manager()->queue()) {
« no previous file with comments | « chrome/browser/prerender/prerender_message_filter.cc ('k') | chrome/browser/renderer_host/chrome_render_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698