Index: chrome/renderer/mock_render_thread.h |
diff --git a/chrome/renderer/mock_render_thread.h b/chrome/renderer/mock_render_thread.h |
index 5eb7ad391bbbe177159a79a6259d28f42fb3e174..c510d9108947c2ccd56a69d1a6ae95242f6f3bce 100644 |
--- a/chrome/renderer/mock_render_thread.h |
+++ b/chrome/renderer/mock_render_thread.h |
@@ -18,10 +18,11 @@ namespace IPC { |
class MessageReplyDeserializer; |
} |
-struct PrintMsg_Print_Params; |
-struct PrintMsg_PrintPages_Params; |
+struct PrintHostMsg_DidGetPreviewPageCount_Params; |
struct PrintHostMsg_DidPreviewPage_Params; |
struct PrintHostMsg_ScriptedPrint_Params; |
+struct PrintMsg_PrintPages_Params; |
+struct PrintMsg_Print_Params; |
// This class is very simple mock of RenderThread. It simulates an IPC channel |
// which supports only two messages: |
@@ -125,8 +126,8 @@ class MockRenderThread : public RenderThreadBase { |
void OnDidGetPrintedPagesCount(int cookie, int number_pages); |
void OnDidPrintPage(const PrintHostMsg_DidPrintPage_Params& params); |
- void OnDidGetPreviewPageCount(int document_cookie, int number_pages, |
- bool is_modifiable); |
+ void OnDidGetPreviewPageCount( |
+ const PrintHostMsg_DidGetPreviewPageCount_Params& params); |
void OnDidPreviewPage(const PrintHostMsg_DidPreviewPage_Params& params); |
// For print preview, PrintWebViewHelper will update settings. |