OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef PRINTING_PRINT_DESTINATION_INTERFACE_H_ | |
6 #define PRINTING_PRINT_DESTINATION_INTERFACE_H_ | |
7 #pragma once | |
8 | |
9 #include "base/memory/ref_counted.h" | |
10 | |
11 namespace printing { | |
12 | |
13 class PrintDestinationInterface | |
14 : public base::RefCountedThreadSafe<PrintDestinationInterface> { | |
15 public: | |
16 virtual void SetPageCount(int page_count) = 0; | |
17 | |
18 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.
| |
19 void* content, | |
20 size_t content_size) = 0; | |
21 }; | |
22 | |
23 PrintDestinationInterface* CreatePrintDestination(); | |
24 | |
25 } // namespace printing | |
26 | |
27 #endif // PRINTING_PRINT_DESTINATION_INTERFACE_H_ | |
OLD | NEW |