Generate display product id with EDID manufacturer product code
commit42e801f538425823057c18221f2be02f4c591fa9
authorrobert.bradford <robert.bradford@intel.com>
Thu, 21 May 2015 10:54:47 +0000 (21 03:54 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 21 May 2015 10:55:21 +0000 (21 10:55 +0000)
treebe96a266414f312b6fdca72e048088d24d0b0c4f
parent5c654f86279e4abef018d89c8d94611fe8edacc0
Generate display product id with EDID manufacturer product code

Formerly the product id for the DisplaySnapshot was generated with a
combination of the manufacturer code combined with a hash of the product
display name. However as the product display name can vary based on
display connector it is more appropriate to use the product code.

TEST=display_unittests passes.
BUG=471749

Review URL: https://codereview.chromium.org/1151583002

Cr-Commit-Position: refs/heads/master@{#330929}
ui/display/util/edid_parser.cc
ui/display/util/edid_parser.h
ui/display/util/edid_parser_unittest.cc
ui/display/util/x11/edid_parser_x11.cc
ui/ozone/platform/drm/common/drm_util.cc