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

Unified Diff: chrome/browser/chromeos/settings/device_settings_provider.cc

Issue 907323002: Implemented DeviceStatusCollector::GetDeviceSessionStatus() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/settings/device_settings_provider.cc
diff --git a/chrome/browser/chromeos/settings/device_settings_provider.cc b/chrome/browser/chromeos/settings/device_settings_provider.cc
index 03b9841a78646e82f9c0c0d5d6fe4f53dff6a5ff..d208301edb5f9a243aa2c2cc34316314d88ced34 100644
--- a/chrome/browser/chromeos/settings/device_settings_provider.cc
+++ b/chrome/browser/chromeos/settings/device_settings_provider.cc
@@ -64,7 +64,8 @@ const char* const kKnownSettings[] = {
kReportDeviceLocation,
kReportDeviceNetworkInterfaces,
kReportDeviceUsers,
- kReportDeviceHardwareStatus,
+ kReportDeviceHardwareStatus,
+ kReportDeviceSessionStatus,
kReportDeviceVersionInfo,
kServiceAccountIdentity,
kSignedDataRoamingEnabled,
@@ -311,6 +312,11 @@ void DecodeReportingPolicies(
kReportDeviceHardwareStatus,
reporting_policy.report_hardware_status());
}
+ if (reporting_policy.has_report_session_status()) {
bartfab (slow) 2015/02/11 17:28:43 You need to add this new policy policy_templates.j
Andrew T Wilson (Slow) 2015/02/12 15:15:39 This is part of the other CL which I will land bef
+ new_values_cache->SetBoolean(
+ kReportDeviceSessionStatus,
+ reporting_policy.report_session_status());
+ }
}
}

Powered by Google App Engine
This is Rietveld 408576698