diff options
Diffstat (limited to 'chrome/browser/chromeos/policy/device_status_collector.cc')
-rw-r--r-- | chrome/browser/chromeos/policy/device_status_collector.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/chromeos/policy/device_status_collector.cc b/chrome/browser/chromeos/policy/device_status_collector.cc index e48b628..f857846 100644 --- a/chrome/browser/chromeos/policy/device_status_collector.cc +++ b/chrome/browser/chromeos/policy/device_status_collector.cc @@ -803,8 +803,9 @@ void DeviceStatusCollector::GetNetworkInterfaces( interface->set_device_path((*device)->path()); } - // Don't write any network state if we aren't in a kiosk session. - if (!GetAutoLaunchedKioskSessionInfo()) + // Don't write any network state if we aren't in a kiosk or public session. + if (!GetAutoLaunchedKioskSessionInfo() && + !user_manager::UserManager::Get()->IsLoggedInAsPublicAccount()) return; // Walk the various networks and store their state in the status report. |