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

Unified Diff: components/cloud_devices/common/printer_description.h

Issue 325313003: Add vendor id and custom display name to media selection (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address cl comments. 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: components/cloud_devices/common/printer_description.h
diff --git a/components/cloud_devices/common/printer_description.h b/components/cloud_devices/common/printer_description.h
index d434fa660ed9a1b53735ed3dcfcc1d57be40cd23..c3ceee8c92f17b6bae500bfa872d56f64331bf60 100644
--- a/components/cloud_devices/common/printer_description.h
+++ b/components/cloud_devices/common/printer_description.h
@@ -292,6 +292,7 @@ struct Media {
Media(MediaType type, int32 width_um, int32 height_um);
Media(const std::string& custom_display_name,
+ const std::string& vendor_id,
int32 width_um,
int32 height_um);
@@ -306,6 +307,7 @@ struct Media {
int32 height_um;
bool is_continuous_feed;
std::string custom_display_name;
+ std::string vendor_id;
};
struct Interval {
« no previous file with comments | « chrome/common/cloud_print/cloud_print_cdd_conversion.cc ('k') | components/cloud_devices/common/printer_description.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698