1 // Copyright 2013 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.
5 #ifndef CHROME_SERVICE_CLOUD_PRINT_PRINT_SYSTEM_WIN_H_
6 #define CHROME_SERVICE_CLOUD_PRINT_PRINT_SYSTEM_WIN_H_
8 #include "chrome/service/cloud_print/print_system.h"
10 namespace cloud_print
{
12 class PrintSystemWin
: public PrintSystem
{
15 virtual ~PrintSystemWin();
17 // PrintSystem implementation.
18 virtual PrintSystem::PrintSystemResult
EnumeratePrinters(
19 printing::PrinterList
* printer_list
) OVERRIDE
;
20 virtual bool IsValidPrinter(const std::string
& printer_name
) OVERRIDE
;
21 virtual bool GetJobDetails(const std::string
& printer_name
,
23 PrintJobDetails
*job_details
) OVERRIDE
;
24 virtual PrintSystem::PrintServerWatcher
* CreatePrintServerWatcher() OVERRIDE
;
25 virtual PrintSystem::PrinterWatcher
* CreatePrinterWatcher(
26 const std::string
& printer_name
) OVERRIDE
;
29 std::string
GetPrinterDriverInfo(const std::string
& printer_name
) const;
32 scoped_refptr
<printing::PrintBackend
> print_backend_
;
35 } // namespace cloud_print
37 #endif // CHROME_SERVICE_CLOUD_PRINT_PRINT_SYSTEM_WIN_H_