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

Unified Diff: ui/display/util/edid_parser.h

Issue 1129863003: Load ICC file for display color correction based on display product identifier (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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: ui/display/util/edid_parser.h
diff --git a/ui/display/util/edid_parser.h b/ui/display/util/edid_parser.h
index 447a0c80ba327f386ba1d992ce4c5a01f4d83e29..e2f0d8357317be8e7ac147ad92dbff9c9adb9423 100644
--- a/ui/display/util/edid_parser.h
+++ b/ui/display/util/edid_parser.h
@@ -21,12 +21,13 @@ class Size;
namespace ui {
-// Generates the display id for the pair of |edid| and |index|, and store in
-// |display_id_out|. Returns true if the display id is successfully generated,
-// or false otherwise.
+// Generates the display id and product id for the pair of |edid| and |index|,
+// and store in |display_id_out| and |product_id_out|. Returns true if the
+// display id is successfully generated, or false otherwise.
DISPLAY_UTIL_EXPORT bool GetDisplayIdFromEDID(const std::vector<uint8_t>& edid,
uint8_t index,
- int64_t* display_id_out);
+ int64_t* display_id_out,
+ int64_t* product_id_out);
// Parses |edid| as EDID data and stores extracted data into |manufacturer_id|,
// |human_readable_name|, |active_pixel_out| and |physical_display_size_out|,

Powered by Google App Engine
This is Rietveld 408576698