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

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

Issue 23264035: Merge 218339 "Submitting https://codereview.chromium.org/2311600..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1599/src/
Patch Set: Created 7 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/printing/printing_message_filter.h
===================================================================
--- chrome/browser/printing/printing_message_filter.h (revision 218991)
+++ chrome/browser/printing/printing_message_filter.h (working copy)
@@ -54,15 +54,25 @@
base::SharedMemoryHandle* browser_handle);
#endif
-#if defined(OS_CHROMEOS)
+#if defined(OS_CHROMEOS) || defined(OS_ANDROID)
// Used to ask the browser allocate a temporary file for the renderer
// to fill in resulting PDF in renderer.
- void OnAllocateTempFileForPrinting(base::FileDescriptor* temp_file_fd,
+ void OnAllocateTempFileForPrinting(int render_view_id,
+ base::FileDescriptor* temp_file_fd,
int* sequence_number);
void OnTempFileForPrintingWritten(int render_view_id, int sequence_number);
+#endif
+
+#if defined(OS_CHROMEOS)
void CreatePrintDialogForFile(int render_view_id, const base::FilePath& path);
#endif
+#if defined(OS_ANDROID)
+ // Updates the file descriptor for the PrintViewManagerBasic of a given
+ // render_view_id.
+ void UpdateFileDescriptor(int render_view_id, int fd);
+#endif
+
// Given a render_view_id get the corresponding WebContents.
// Must be called on the UI thread.
content::WebContents* GetWebContentsForRenderView(int render_view_id);
« no previous file with comments | « chrome/browser/printing/print_view_manager_basic.cc ('k') | chrome/browser/printing/printing_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698