Index: chrome/browser/chromeos/policy/device_status_collector.h |
diff --git a/chrome/browser/chromeos/policy/device_status_collector.h b/chrome/browser/chromeos/policy/device_status_collector.h |
index 43386b16b40b937105f81b15fa9cfc767a3f32e1..f4b25663f2861ae4688ab8813c8fde9d00634fc8 100644 |
--- a/chrome/browser/chromeos/policy/device_status_collector.h |
+++ b/chrome/browser/chromeos/policy/device_status_collector.h |
@@ -99,6 +99,11 @@ class DeviceStatusCollector { |
// Callback which receives the results of the idle state check. |
void IdleStateCallback(ui::IdleState state); |
+ // Returns true if the currently active session is an auto-launched |
+ // kiosk session (this enables functionality such as network reporting). |
+ // Virtual to allow mocking. |
+ virtual bool IsAutoLaunchedKioskSession(); |
+ |
// Samples the current CPU and RAM usage and updates our cache of samples. |
void SampleResourceUsage(); |