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

Unified Diff: chrome/renderer/chrome_mock_render_thread.h

Issue 23116003: Adds PrintingContext implementation stub for Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes some build targets and try bots. Some other nits. 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/renderer/chrome_mock_render_thread.h
diff --git a/chrome/renderer/chrome_mock_render_thread.h b/chrome/renderer/chrome_mock_render_thread.h
index e4214f32bf13c0ac4a312581fcf703cf4efea299..949e3ceafed55a6ae993f203c6de673df413793a 100644
--- a/chrome/renderer/chrome_mock_render_thread.h
+++ b/chrome/renderer/chrome_mock_render_thread.h
@@ -60,8 +60,9 @@ class ChromeMockRenderThread : public content::MockRenderThread {
int* port_id);
#if defined(ENABLE_PRINTING)
-#if defined(OS_CHROMEOS)
- void OnAllocateTempFileForPrinting(base::FileDescriptor* renderer_fd,
+#if defined(OS_CHROMEOS) || defined(OS_ANDROID)
+ void OnAllocateTempFileForPrinting(int render_view_id,
+ base::FileDescriptor* renderer_fd,
int* browser_fd);
void OnTempFileForPrintingWritten(int render_view_id, int browser_fd);
#endif

Powered by Google App Engine
This is Rietveld 408576698