summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/mock_printer_driver_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/mock_printer_driver_win.h')
-rw-r--r--chrome/renderer/mock_printer_driver_win.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/chrome/renderer/mock_printer_driver_win.h b/chrome/renderer/mock_printer_driver_win.h
new file mode 100644
index 0000000..117aa16
--- /dev/null
+++ b/chrome/renderer/mock_printer_driver_win.h
@@ -0,0 +1,25 @@
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_RENDERER_MOCK_PRINTER_DRIVER_WIN_H_
+#define CHROME_RENDERER_MOCK_PRINTER_DRIVER_WIN_H_
+
+#include "base/basictypes.h"
+
+class MockPrinterPage;
+
+// Implements the platform-dependent part of a pseudo printer object.
+// This class renders a platform-dependent input and creates a MockPrinterPage
+// instance.
+class MockPrinterDriverWin {
+ public:
+ MockPrinterDriverWin();
+ ~MockPrinterDriverWin();
+
+ MockPrinterPage* LoadSource(const void* data, size_t size);
+
+ DISALLOW_COPY_AND_ASSIGN(MockPrinterDriverWin);
+};
+
+#endif // CHROME_RENDERER_MOCK_PRINTER_DRIVER_WIN_H_