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

Unified Diff: printing/backend/print_backend.h

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: Select the printing backends at runtime via --enable-native-cups 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
« no previous file with comments | « printing/BUILD.gn ('k') | printing/backend/print_backend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/backend/print_backend.h
diff --git a/printing/backend/print_backend.h b/printing/backend/print_backend.h
index 5086d2047346f111cdd7ba5ed8bb94a0c5c2a9a1..46b0801323db12cec7751f5108d54adb99f00100 100644
--- a/printing/backend/print_backend.h
+++ b/printing/backend/print_backend.h
@@ -123,6 +123,11 @@ class PRINTING_EXPORT PrintBackend
static scoped_refptr<PrintBackend> CreateInstance(
const base::DictionaryValue* print_backend_settings);
+ // Returns the value of the native cups flag
+ static bool GetNativeCupsEnabled();
+
+ static void SetNativeCupsEnabled(bool enabled);
+
protected:
friend class base::RefCountedThreadSafe<PrintBackend>;
virtual ~PrintBackend();
« no previous file with comments | « printing/BUILD.gn ('k') | printing/backend/print_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698