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

Issue 18348016: If requested, report network interfaces to management server. (Closed)

Created:
7 years, 5 months ago by Mattias Nissler (ping if slow)
Modified:
7 years, 5 months ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, gspencer+watch_chromium.org, joaodasilva+watch_chromium.org, gauravsh+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

If requested, report network interfaces to management server. This adds a device policy that allows the administrator to request Chrome OS devices to report a list of their network interfaces and corresponding device hardware addresses to the device management server as part of device status reporting. BUG=chromium:218410 TEST=unit test Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=211432

Patch Set 1 #

Patch Set 2 : Add test. #

Total comments: 34

Patch Set 3 : Address feedback. #

Total comments: 4

Patch Set 4 : Finishing touches. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+295 lines, -38 lines) Patch
M chrome/app/policy/policy_templates.json View 1 2 2 chunks +17 lines, -1 line 0 comments Download
M chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/policy/device_status_collector.h View 3 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/chromeos/policy/device_status_collector.cc View 1 2 3 8 chunks +58 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/policy/device_status_collector_browsertest.cc View 1 2 3 chunks +120 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/settings/cros_settings_names.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/settings/cros_settings_names.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/settings/device_settings_provider.cc View 1 2 3 chunks +30 lines, -28 lines 0 comments Download
M chrome/browser/policy/proto/chromeos/chrome_device_policy.proto View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/policy/proto/cloud/device_management_backend.proto View 1 2 2 chunks +30 lines, -0 lines 0 comments Download
M chrome/test/data/policy/policy_test_cases.json View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chromeos/network/network_state_handler.h View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M chromeos/network/network_state_handler.cc View 1 2 2 chunks +11 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
Mattias Nissler (ping if slow)
Please review. pneubeck: Main reviewer pastarmovj: chrome/browser/chromeos/settings OWNERS approval gspencer: chromeos/network OWNERS approval jiachen: Please ...
7 years, 5 months ago (2013-07-04 10:53:30 UTC) #1
pneubeck (no reviews)
mostly nits. https://codereview.chromium.org/18348016/diff/3001/chrome/browser/chromeos/policy/device_status_collector.cc File chrome/browser/chromeos/policy/device_status_collector.cc (right): https://codereview.chromium.org/18348016/diff/3001/chrome/browser/chromeos/policy/device_status_collector.cc#newcode424 chrome/browser/chromeos/policy/device_status_collector.cc:424: chromeos::NetworkStateHandler::DeviceStateList::const_iterator device; nit: alternatively, typedef chromeos::NetworkStateHandler::DeviceStateList locally ...
7 years, 5 months ago (2013-07-04 15:51:48 UTC) #2
pastarmovj
Agree with Philipp for the nits but otherwise owner lgtm for settings.
7 years, 5 months ago (2013-07-05 08:44:27 UTC) #3
Greg Spencer (Chromium)
LGTM modulo nits (mine and pneubeck's) https://codereview.chromium.org/18348016/diff/3001/chrome/browser/chromeos/settings/device_settings_provider.cc File chrome/browser/chromeos/settings/device_settings_provider.cc (right): https://codereview.chromium.org/18348016/diff/3001/chrome/browser/chromeos/settings/device_settings_provider.cc#newcode656 chrome/browser/chromeos/settings/device_settings_provider.cc:656: // if (policy.device_reporting().has_report_location()) ...
7 years, 5 months ago (2013-07-08 21:44:17 UTC) #4
Mattias Nissler (ping if slow)
Bin, Jiayun, any thoughts?
7 years, 5 months ago (2013-07-10 09:40:27 UTC) #5
Bin
https://codereview.chromium.org/18348016/diff/3001/chrome/browser/policy/proto/cloud/device_management_backend.proto File chrome/browser/policy/proto/cloud/device_management_backend.proto (right): https://codereview.chromium.org/18348016/diff/3001/chrome/browser/policy/proto/cloud/device_management_backend.proto#newcode365 chrome/browser/policy/proto/cloud/device_management_backend.proto:365: optional string type = 1; Once we start collecting ...
7 years, 5 months ago (2013-07-10 18:02:49 UTC) #6
Mattias Nissler (ping if slow)
All feedback addressed, PTAL! https://codereview.chromium.org/18348016/diff/3001/chrome/browser/chromeos/policy/device_status_collector.cc File chrome/browser/chromeos/policy/device_status_collector.cc (right): https://codereview.chromium.org/18348016/diff/3001/chrome/browser/chromeos/policy/device_status_collector.cc#newcode424 chrome/browser/chromeos/policy/device_status_collector.cc:424: chromeos::NetworkStateHandler::DeviceStateList::const_iterator device; On 2013/07/04 15:51:48, ...
7 years, 5 months ago (2013-07-11 17:41:46 UTC) #7
pneubeck (no reviews)
lgtm https://codereview.chromium.org/18348016/diff/3001/chrome/browser/chromeos/policy/device_status_collector.cc File chrome/browser/chromeos/policy/device_status_collector.cc (right): https://codereview.chromium.org/18348016/diff/3001/chrome/browser/chromeos/policy/device_status_collector.cc#newcode424 chrome/browser/chromeos/policy/device_status_collector.cc:424: chromeos::NetworkStateHandler::DeviceStateList::const_iterator device; On 2013/07/11 17:41:46, Mattias Nissler wrote: ...
7 years, 5 months ago (2013-07-11 18:49:31 UTC) #8
pneubeck (no reviews)
https://codereview.chromium.org/18348016/diff/17001/chrome/browser/chromeos/policy/device_status_collector.cc File chrome/browser/chromeos/policy/device_status_collector.cc (right): https://codereview.chromium.org/18348016/diff/17001/chrome/browser/chromeos/policy/device_status_collector.cc#newcode419 chrome/browser/chromeos/policy/device_status_collector.cc:419: } kDeviceTypeMap[] = { On 2013/07/11 18:49:32, pneubeck wrote: ...
7 years, 5 months ago (2013-07-12 07:57:54 UTC) #9
Mattias Nissler (ping if slow)
Addressed pneubeck's latest comments. Bin, can you take another look, preferably today? I'll be on ...
7 years, 5 months ago (2013-07-12 08:11:55 UTC) #10
Bin
lgtm
7 years, 5 months ago (2013-07-12 16:54:02 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mnissler@chromium.org/18348016/36001
7 years, 5 months ago (2013-07-12 17:10:10 UTC) #12
commit-bot: I haz the power
7 years, 5 months ago (2013-07-12 18:50:19 UTC) #13
Message was sent while issue was closed.
Change committed as 211432

Powered by Google App Engine
This is Rietveld 408576698