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

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

Issue 2765463002: Remote fetch device status (attributes and logs) command (Closed)
Patch Set: Created 3 years, 9 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/status_uploader.h
diff --git a/chrome/browser/chromeos/policy/status_uploader.h b/chrome/browser/chromeos/policy/status_uploader.h
index 9cbefceca217e5b9a282147b1a661e5f803b4a5b..a722dd1bb336421c4616bd2f5021542da42cbbe0 100644
--- a/chrome/browser/chromeos/policy/status_uploader.h
+++ b/chrome/browser/chromeos/policy/status_uploader.h
@@ -59,6 +59,8 @@ class StatusUploader : public MediaCaptureDevicesDispatcher::Observer {
content::MediaStreamType stream_type,
const content::MediaRequestState state) override;
+ void ScheduleNextStatusUploadImmediately();
+
private:
// Callback invoked periodically to upload the device status from the
// DeviceStatusCollector.
@@ -76,7 +78,7 @@ class StatusUploader : public MediaCaptureDevicesDispatcher::Observer {
// Helper method that figures out when the next status upload should
// be scheduled.
- void ScheduleNextStatusUpload();
+ void ScheduleNextStatusUpload(bool immediately = false);
// Updates the upload frequency from settings and schedules a new upload
// if appropriate.

Powered by Google App Engine
This is Rietveld 408576698