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

Unified Diff: components/printing/browser/print_manager.cc

Issue 2426503002: Make printing work better with OOPIF. (Closed)
Patch Set: Fix build, fix some tests Created 4 years, 2 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: components/printing/browser/print_manager.cc
diff --git a/components/printing/browser/print_manager.cc b/components/printing/browser/print_manager.cc
index 0773ab4e5507eb29327e9f2e8771a18c97a45bec..1094a260bb619b2e3e5aaa014b8a61732face137 100644
--- a/components/printing/browser/print_manager.cc
+++ b/components/printing/browser/print_manager.cc
@@ -18,7 +18,9 @@ PrintManager::PrintManager(content::WebContents* contents)
PrintManager::~PrintManager() {
}
-bool PrintManager::OnMessageReceived(const IPC::Message& message) {
+bool PrintManager::OnMessageReceived(
+ const IPC::Message& message,
+ content::RenderFrameHost* render_frame_host) {
bool handled = true;
IPC_BEGIN_MESSAGE_MAP(PrintManager, message)
IPC_MESSAGE_HANDLER(PrintHostMsg_DidGetPrintedPagesCount,
@@ -52,7 +54,7 @@ void PrintManager::OnPrintingFailed(int cookie) {
#endif
}
-void PrintManager::RenderProcessGone(base::TerminationStatus status) {
+void PrintManager::PrintingRenderFrameDeleted() {
#if defined(OS_ANDROID)
PdfWritingDone(false);
#endif

Powered by Google App Engine
This is Rietveld 408576698