Commit 61186457 authored by Jin Chen's avatar Jin Chen Committed by Commit Bot

[chromecast] Add Product sku name to cast sys info.

Bug: internal b/159937174
Test: CQ, build chromecast
Merge-With: eureka-internal/423679
Change-Id: I993eea66d26b410f7bacffac9b971f986fd01ce4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2293105
Commit-Queue: JinJie Chen <jinjiechen@google.com>
Reviewed-by: default avatarYuchen Liu <yucliu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#788400}
parent 6e82ffa4
...@@ -36,6 +36,10 @@ class CastSysInfo { ...@@ -36,6 +36,10 @@ class CastSysInfo {
virtual std::string GetSerialNumber() = 0; virtual std::string GetSerialNumber() = 0;
// Returns product code name of the device. // Returns product code name of the device.
virtual std::string GetProductName() = 0; virtual std::string GetProductName() = 0;
// Returns product sku code name of the device.
static CHROMECAST_EXPORT std::string GetProductSkuName(
CastSysInfo* cast_sys_info) __attribute__((__weak__));
// Returns model name of device (eg: Chromecast, Nexus Player, ...). // Returns model name of device (eg: Chromecast, Nexus Player, ...).
virtual std::string GetDeviceModel() = 0; virtual std::string GetDeviceModel() = 0;
// Returns the board's name. // Returns the board's name.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment