OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2010 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 #include "chrome/browser/printing/cloud_print/printer_info.h" |
| 6 |
| 7 #include "base/logging.h" |
| 8 |
| 9 // TODO(sanjeevr): Implement the Mac interfaces. |
| 10 namespace cloud_print { |
| 11 |
| 12 void EnumeratePrinters(PrinterList* printer_list) { |
| 13 DCHECK(printer_list); |
| 14 NOTIMPLEMENTED(); |
| 15 } |
| 16 |
| 17 bool GetPrinterCapsAndDefaults(const std::string& printer_name, |
| 18 PrinterCapsAndDefaults* printer_info) { |
| 19 NOTIMPLEMENTED(); |
| 20 return false; |
| 21 } |
| 22 |
| 23 bool ValidatePrintTicket(const std::string& printer_name, |
| 24 const std::string& print_ticket_data) { |
| 25 NOTIMPLEMENTED(); |
| 26 return false; |
| 27 } |
| 28 |
| 29 std::string GenerateProxyId() { |
| 30 NOTIMPLEMENTED(); |
| 31 return std::string(); |
| 32 } |
| 33 |
| 34 bool SpoolPrintJob(const std::string& print_ticket, |
| 35 const FilePath& print_data_file_path, |
| 36 const std::string& print_data_mime_type, |
| 37 const std::string& printer_name, |
| 38 const std::string& job_title, |
| 39 PlatformJobId* job_id_ret) { |
| 40 NOTIMPLEMENTED(); |
| 41 return false; |
| 42 } |
| 43 |
| 44 bool GetJobDetails(const std::string& printer_name, |
| 45 PlatformJobId job_id, |
| 46 PrintJobDetails *job_details) { |
| 47 NOTIMPLEMENTED(); |
| 48 return false; |
| 49 } |
| 50 |
| 51 bool IsValidPrinter(const std::string& printer_name) { |
| 52 NOTIMPLEMENTED(); |
| 53 return false; |
| 54 } |
| 55 |
| 56 PrinterChangeNotifier::PrinterChangeNotifier() : state_(NULL) { |
| 57 } |
| 58 |
| 59 PrinterChangeNotifier::~PrinterChangeNotifier() { |
| 60 StopWatching(); |
| 61 } |
| 62 |
| 63 bool PrinterChangeNotifier::StartWatching(const std::string& printer_name, |
| 64 Delegate* delegate) { |
| 65 NOTIMPLEMENTED(); |
| 66 return false; |
| 67 } |
| 68 |
| 69 bool PrinterChangeNotifier::StopWatching() { |
| 70 NOTIMPLEMENTED(); |
| 71 return false; |
| 72 } |
| 73 |
| 74 bool PrinterChangeNotifier::GetCurrentPrinterInfo( |
| 75 PrinterBasicInfo* printer_info) { |
| 76 NOTIMPLEMENTED(); |
| 77 return false; |
| 78 } |
| 79 } // namespace cloud_print |
| 80 |
OLD | NEW |