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

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: 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.h
diff --git a/printing/backend/print_backend.h b/printing/backend/print_backend.h
index 5086d2047346f111cdd7ba5ed8bb94a0c5c2a9a1..2d82b5e461b5796b0d4c67dea1c53a6f48b7fdbf 100644
--- a/printing/backend/print_backend.h
+++ b/printing/backend/print_backend.h
@@ -123,9 +123,14 @@ class PRINTING_EXPORT PrintBackend
static scoped_refptr<PrintBackend> CreateInstance(
const base::DictionaryValue* print_backend_settings);
+ static void SetNativeCupsEnabled(bool enabled);
+
protected:
friend class base::RefCountedThreadSafe<PrintBackend>;
virtual ~PrintBackend();
+
+ private:
+ static bool native_cups_enabled;
Lei Zhang 2016/06/28 22:27:35 You can just declare this in an anonymous namespac
skau 2016/06/28 23:58:19 Done.
};
} // namespace printing

Powered by Google App Engine
This is Rietveld 408576698