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

Issue 2761263007: ChromeOS: Expose 'device type' signal (Closed)

Created:
3 years, 9 months ago by Wenzhao (Colin) Zang
Modified:
3 years, 9 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org, extensions-reviews_chromium.org, Rahul Chaturvedi
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

ChromeOS: Expose 'device type' signal For use by the Get Help app, similar to how the 'playstore status' and 'managed device' were added recently. If the device type is 'unknown', return 'chromedevice' instead, otherwise return the device type unchanged. BUG=702772 Review-Url: https://codereview.chromium.org/2761263007 Cr-Commit-Position: refs/heads/master@{#458973} Committed: https://chromium.googlesource.com/chromium/src/+/209f4397c58d883b3d8bbbdacf53425c07f434e5

Patch Set 1 #

Total comments: 3

Patch Set 2 : replace StringPrintf with string #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -1 line) Patch
M chrome/browser/chromeos/extensions/info_private_api.cc View 3 chunks +34 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/extensions/info_private_apitest.cc View 1 3 chunks +41 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/chromeos_info_private.json View 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/api_test/chromeos_info_private/extended/background.js View 2 chunks +17 lines, -1 line 0 comments Download

Messages

Total messages: 27 (16 generated)
Wenzhao (Colin) Zang
@rdevlin.cronin Please see chrome/common/extensions/api/chromeos_info_private.json @tbarzic Please see the rest of the files. Thanks so much.
3 years, 9 months ago (2017-03-21 22:04:01 UTC) #2
Alexander Alekseev
Please, make your CL description conform to https://www.chromium.org/developers/contributing-code#TOC-Writing-change-list-descriptions
3 years, 9 months ago (2017-03-22 09:28:12 UTC) #4
Alexander Alekseev
lgtm with nit. https://codereview.chromium.org/2761263007/diff/1/chrome/browser/chromeos/extensions/info_private_apitest.cc File chrome/browser/chromeos/extensions/info_private_apitest.cc (right): https://codereview.chromium.org/2761263007/diff/1/chrome/browser/chromeos/extensions/info_private_apitest.cc#newcode39 chrome/browser/chromeos/extensions/info_private_apitest.cc:39: base::StringPrintf("DEVICETYPE=%s", device_type.c_str()); const std::string lsb_release = ...
3 years, 9 months ago (2017-03-22 09:31:26 UTC) #5
tbarzic
lgtm https://codereview.chromium.org/2761263007/diff/1/chrome/browser/chromeos/extensions/info_private_apitest.cc File chrome/browser/chromeos/extensions/info_private_apitest.cc (right): https://codereview.chromium.org/2761263007/diff/1/chrome/browser/chromeos/extensions/info_private_apitest.cc#newcode123 chrome/browser/chromeos/extensions/info_private_apitest.cc:123: "unknown device type")) just "unknown"?
3 years, 9 months ago (2017-03-22 16:42:19 UTC) #6
Devlin
chrome/common/extensions/api/chromeos_info_private.json lgtm
3 years, 9 months ago (2017-03-22 22:49:43 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2761263007/20001
3 years, 9 months ago (2017-03-23 00:29:42 UTC) #10
Alexander Alekseev
not lgtm. Coul you fix CL description?
3 years, 9 months ago (2017-03-23 00:53:12 UTC) #12
Wenzhao (Colin) Zang
The description is updated. https://codereview.chromium.org/2761263007/diff/1/chrome/browser/chromeos/extensions/info_private_apitest.cc File chrome/browser/chromeos/extensions/info_private_apitest.cc (right): https://codereview.chromium.org/2761263007/diff/1/chrome/browser/chromeos/extensions/info_private_apitest.cc#newcode39 chrome/browser/chromeos/extensions/info_private_apitest.cc:39: base::StringPrintf("DEVICETYPE=%s", device_type.c_str()); On 2017/03/22 09:31:26, ...
3 years, 9 months ago (2017-03-23 01:17:17 UTC) #20
Alexander Alekseev
lgtm
3 years, 9 months ago (2017-03-23 01:18:08 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2761263007/20001
3 years, 9 months ago (2017-03-23 01:21:48 UTC) #24
commit-bot: I haz the power
3 years, 9 months ago (2017-03-23 01:52:31 UTC) #27
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/209f4397c58d883b3d8bbbdacf53...

Powered by Google App Engine
This is Rietveld 408576698