Index: chrome/browser/printing/print_view_manager_base.h |
diff --git a/chrome/browser/printing/print_view_manager_base.h b/chrome/browser/printing/print_view_manager_base.h |
index 03a90c61269fa3b78762330bbab9aa36acfeddfb..86e6e75ca721f01e8a8cab342b82387e6d21f8c8 100644 |
--- a/chrome/browser/printing/print_view_manager_base.h |
+++ b/chrome/browser/printing/print_view_manager_base.h |
@@ -56,6 +56,9 @@ class PrintViewManagerBase : public content::NotificationObserver, |
// content::WebContentsObserver implementation. |
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
+ // IPC Message handlers. |
+ virtual void OnPrintingFailed(int cookie); |
whywhat
2013/08/16 23:31:36
Maybe we should instead observe NOTIFICATION_PRINT
Lei Zhang
2013/08/18 09:56:26
I think other people are trying to kill Notificati
|
+ |
private: |
// content::NotificationObserver implementation. |
virtual void Observe(int type, |
@@ -73,7 +76,6 @@ class PrintViewManagerBase : public content::NotificationObserver, |
void OnDidGetPrintedPagesCount(int cookie, int number_pages); |
void OnDidGetDocumentCookie(int cookie); |
void OnDidPrintPage(const PrintHostMsg_DidPrintPage_Params& params); |
- void OnPrintingFailed(int cookie); |
// Processes a NOTIFY_PRINT_JOB_EVENT notification. |
void OnNotifyPrintJobEvent(const JobEventDetails& event_details); |