summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/mock_render_thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/mock_render_thread.h')
-rw-r--r--chrome/renderer/mock_render_thread.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/renderer/mock_render_thread.h b/chrome/renderer/mock_render_thread.h
index eb1a458..d4ed9f7 100644
--- a/chrome/renderer/mock_render_thread.h
+++ b/chrome/renderer/mock_render_thread.h
@@ -87,8 +87,15 @@ class MockRenderThread : public RenderThreadBase {
const std::string& source_extension_id,
const std::string& target_extension_id, int* port_id);
+#if defined(OS_WIN)
void OnDuplicateSection(base::SharedMemoryHandle renderer_handle,
base::SharedMemoryHandle* browser_handle);
+#endif
+
+#if defined(OS_MACOSX)
+ void OnAllocatePDFTransport(size_t buffer_size,
+ base::SharedMemoryHandle* handle);
+#endif
// The RenderView expects default print settings.
void OnGetDefaultPrintSettings(ViewMsg_Print_Params* setting);