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

Unified Diff: trunk/src/chrome/browser/ui/webui/print_preview/print_preview_handler.h

Issue 319373004: Revert 275646 "Generalize printer color model handling, get rid ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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: trunk/src/chrome/browser/ui/webui/print_preview/print_preview_handler.h
===================================================================
--- trunk/src/chrome/browser/ui/webui/print_preview/print_preview_handler.h (revision 275710)
+++ trunk/src/chrome/browser/ui/webui/print_preview/print_preview_handler.h (working copy)
@@ -99,6 +99,7 @@
private:
class AccessTokenService;
+ struct CUPSPrinterColorModels;
static bool PrivetPrintingEnabled();
@@ -295,6 +296,11 @@
// Holds token service to get OAuth2 access tokens.
scoped_ptr<AccessTokenService> token_service_;
+#if defined(USE_CUPS)
+ // The color capabilities from the last printer queried.
+ scoped_ptr<CUPSPrinterColorModels> cups_printer_color_models_;
+#endif
+
#if defined(ENABLE_SERVICE_DISCOVERY)
scoped_refptr<local_discovery::ServiceDiscoverySharedClient>
service_discovery_client_;

Powered by Google App Engine
This is Rietveld 408576698