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

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

Issue 1135413002: Disable screenshot uploading if there has been user input. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Self-review Created 5 years, 7 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/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 4f31b2981227d0f59080e6b47f8b681fb069feee..47656a9b52ec5963d2252858ab72a26b0a83d3e4 100644
--- a/chrome/browser/chromeos/policy/device_status_collector.h
+++ b/chrome/browser/chromeos/policy/device_status_collector.h
@@ -95,6 +95,12 @@ class DeviceStatusCollector {
static void RegisterPrefs(PrefRegistrySimple* registry);
+ // Returns the DeviceLocalAccount associated with the currently active
+ // kiosk session, if the session was auto-launched with zero delay
+ // (this enables functionality such as network reporting).
+ // Virtual to allow mocking.
+ virtual scoped_ptr<DeviceLocalAccount> GetAutoLaunchedKioskSessionInfo();
+
// How often, in seconds, to poll to see if the user is idle.
static const unsigned int kIdlePollIntervalSeconds = 30;
@@ -111,12 +117,6 @@ class DeviceStatusCollector {
// Callback which receives the results of the idle state check.
void IdleStateCallback(ui::IdleState state);
- // Returns the DeviceLocalAccount associated with the currently active
- // kiosk session, if the session was auto-launched with zero delay
- // (this enables functionality such as network reporting).
- // Virtual to allow mocking.
- virtual scoped_ptr<DeviceLocalAccount> GetAutoLaunchedKioskSessionInfo();
-
// Gets the version of the passed app. Virtual to allow mocking.
virtual std::string GetAppVersion(const std::string& app_id);

Powered by Google App Engine
This is Rietveld 408576698