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

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

Issue 10388214: Make cloud print dialog creation function not use browser list, instead obtain profile and parent w… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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.h
===================================================================
--- chrome/browser/printing/printing_message_filter.h (revision 138829)
+++ chrome/browser/printing/printing_message_filter.h (working copy)
@@ -30,7 +30,7 @@
// renderer process on the IPC thread.
class PrintingMessageFilter : public content::BrowserMessageFilter {
public:
- PrintingMessageFilter();
+ explicit PrintingMessageFilter(int render_process_id);
// content::BrowserMessageFilter methods.
virtual void OverrideThreadForMessage(
@@ -53,7 +53,7 @@
// to fill in resulting PDF in renderer.
void OnAllocateTempFileForPrinting(base::FileDescriptor* temp_file_fd,
int* sequence_number);
- void OnTempFileForPrintingWritten(int sequence_number);
+ void OnTempFileForPrintingWritten(int render_view_id, int sequence_number);
#endif
// Get the default print setting. The task is handled by the print
@@ -89,6 +89,8 @@
printing::PrintJobManager* print_job_manager_;
+ int render_process_id_;
+
DISALLOW_COPY_AND_ASSIGN(PrintingMessageFilter);
};
« no previous file with comments | « chrome/browser/printing/print_dialog_cloud_unittest.cc ('k') | chrome/browser/printing/printing_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698