| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "printing/backend/print_backend.h" | 5 #include "printing/backend/print_backend.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 | 8 |
| 9 namespace printing { | 9 namespace printing { |
| 10 | 10 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 | 38 |
| 39 | 39 |
| 40 bool PrintBackendChromeOS::GetPrinterCapsAndDefaults( | 40 bool PrintBackendChromeOS::GetPrinterCapsAndDefaults( |
| 41 const std::string& printer_name, | 41 const std::string& printer_name, |
| 42 PrinterCapsAndDefaults* printer_info) { | 42 PrinterCapsAndDefaults* printer_info) { |
| 43 NOTREACHED(); | 43 NOTREACHED(); |
| 44 return false; | 44 return false; |
| 45 } | 45 } |
| 46 | 46 |
| 47 std::string PrintBackendChromeOS::GetPrinterDriverInfo( | 47 std::string PrintBackendChromeOS::GetPrinterDriverInfo( |
| 48 const std::string& printer_name) { | 48 const std::string& printer_name) { |
| 49 NOTREACHED(); | 49 NOTREACHED(); |
| 50 return false; | 50 return std::string(); |
| 51 } | 51 } |
| 52 | 52 |
| 53 std::string PrintBackendChromeOS::GetDefaultPrinterName() { | 53 std::string PrintBackendChromeOS::GetDefaultPrinterName() { |
| 54 return std::string(); | 54 return std::string(); |
| 55 } | 55 } |
| 56 | 56 |
| 57 bool PrintBackendChromeOS::IsValidPrinter(const std::string& printer_name) { | 57 bool PrintBackendChromeOS::IsValidPrinter(const std::string& printer_name) { |
| 58 NOTREACHED(); | 58 NOTREACHED(); |
| 59 return true; | 59 return true; |
| 60 } | 60 } |
| 61 | 61 |
| 62 scoped_refptr<PrintBackend> PrintBackend::CreateInstance( | 62 scoped_refptr<PrintBackend> PrintBackend::CreateInstance( |
| 63 const base::DictionaryValue* print_backend_settings) { | 63 const base::DictionaryValue* print_backend_settings) { |
| 64 return new PrintBackendChromeOS(); | 64 return new PrintBackendChromeOS(); |
| 65 } | 65 } |
| 66 | 66 |
| 67 } // namespace printing | 67 } // namespace printing |
| 68 | 68 |
| OLD | NEW |