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

Unified 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, 6 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 side-by-side diff with in-line comments
Download patch
Index: printing/backend/print_backend.cc
diff --git a/printing/backend/print_backend.cc b/printing/backend/print_backend.cc
index f17983778d76a8998f02e801dc98d6e993210e3a..fc93753ed80c18d680b8d2030b82058492ddb7e5 100644
--- a/printing/backend/print_backend.cc
+++ b/printing/backend/print_backend.cc
@@ -40,4 +40,10 @@ PrinterCapsAndDefaults::~PrinterCapsAndDefaults() {}
PrintBackend::~PrintBackend() {}
+bool PrintBackend::native_cups_enabled = false;
+
+void PrintBackend::SetNativeCupsEnabled(bool enabled) {
+ PrintBackend::native_cups_enabled = enabled;
+}
+
} // namespace printing

Powered by Google App Engine
This is Rietveld 408576698