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 namespace printing { | 7 namespace printing { |
8 | 8 |
9 PrinterBasicInfo::PrinterBasicInfo() | 9 PrinterBasicInfo::PrinterBasicInfo() |
10 : printer_status(0), | 10 : printer_status(0), |
(...skipping 22 matching lines...) Expand all Loading... |
33 | 33 |
34 PrinterCapsAndDefaults::PrinterCapsAndDefaults() {} | 34 PrinterCapsAndDefaults::PrinterCapsAndDefaults() {} |
35 | 35 |
36 PrinterCapsAndDefaults::PrinterCapsAndDefaults( | 36 PrinterCapsAndDefaults::PrinterCapsAndDefaults( |
37 const PrinterCapsAndDefaults& other) = default; | 37 const PrinterCapsAndDefaults& other) = default; |
38 | 38 |
39 PrinterCapsAndDefaults::~PrinterCapsAndDefaults() {} | 39 PrinterCapsAndDefaults::~PrinterCapsAndDefaults() {} |
40 | 40 |
41 PrintBackend::~PrintBackend() {} | 41 PrintBackend::~PrintBackend() {} |
42 | 42 |
| 43 bool PrintBackend::native_cups_enabled = false; |
| 44 |
| 45 void PrintBackend::SetNativeCupsEnabled(bool enabled) { |
| 46 PrintBackend::native_cups_enabled = enabled; |
| 47 } |
| 48 |
43 } // namespace printing | 49 } // namespace printing |
OLD | NEW |