Chromium Code Reviews| Index: printing/print_destination_interface.h |
| diff --git a/printing/print_destination_interface.h b/printing/print_destination_interface.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..3da20a1251b0ea26fd1df37ec6471030566b9180 |
| --- /dev/null |
| +++ b/printing/print_destination_interface.h |
| @@ -0,0 +1,27 @@ |
| +// Copyright (c) 2012 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 PRINTING_PRINT_DESTINATION_INTERFACE_H_ |
| +#define PRINTING_PRINT_DESTINATION_INTERFACE_H_ |
| +#pragma once |
| + |
| +#include "base/memory/ref_counted.h" |
| + |
| +namespace printing { |
| + |
| +class PrintDestinationInterface |
| + : public base::RefCountedThreadSafe<PrintDestinationInterface> { |
| + public: |
| + virtual void SetPageCount(int page_count) = 0; |
| + |
| + virtual void SetPageContent(int page_number, |
|
robertshield
2012/06/28 17:48:54
brief comments on these methods?
MAD
2012/06/28 19:05:51
Done.
|
| + void* content, |
| + size_t content_size) = 0; |
| +}; |
| + |
| +PrintDestinationInterface* CreatePrintDestination(); |
| + |
| +} // namespace printing |
| + |
| +#endif // PRINTING_PRINT_DESTINATION_INTERFACE_H_ |