Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Side by Side Diff: printing/backend/print_backend.cc

Issue 1934013002: Enable the cups backend when --enable-native-cups is specified. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cupsFlag
Patch Set: Unbreak other platforms Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698