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

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

Issue 11271024: Fix DeviceStatusCollectorTest.MaxStoredPeriods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Using a fixed time, rebased Created 8 years, 2 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/policy/device_status_collector.h
diff --git a/chrome/browser/policy/device_status_collector.h b/chrome/browser/policy/device_status_collector.h
index 3ef3a2450cc03336298a0ec51b97311f2a935e15..5650bd659dbb318c01ebcec6a3297bac9e3cb571 100644
--- a/chrome/browser/policy/device_status_collector.h
+++ b/chrome/browser/policy/device_status_collector.h
@@ -52,6 +52,10 @@ class DeviceStatusCollector : public content::NotificationObserver {
LocationUpdateRequester location_update_requester);
virtual ~DeviceStatusCollector();
+ // Initializes the collector, making it start to observe setting updates
+ // and schedule the next status collection time.
+ void Init();
+
void GetStatus(enterprise_management::DeviceStatusReportRequest* request);
static void RegisterPrefs(PrefService* local_state);

Powered by Google App Engine
This is Rietveld 408576698