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

Unified Diff: chrome/browser/chromeos/policy/device_status_collector.h

Issue 885853002: Disable network state reporting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/policy/device_status_collector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | chrome/browser/chromeos/policy/device_status_collector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698