OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_STATUS_COLLECTOR_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_STATUS_COLLECTOR_H_ |
6 #define CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_STATUS_COLLECTOR_H_ | 6 #define CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_STATUS_COLLECTOR_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <deque> | 10 #include <deque> |
11 #include <memory> | 11 #include <memory> |
12 #include <string> | 12 #include <string> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/callback_forward.h" | 15 #include "base/callback_forward.h" |
16 #include "base/callback_list.h" | 16 #include "base/callback_list.h" |
17 #include "base/compiler_specific.h" | 17 #include "base/compiler_specific.h" |
18 #include "base/macros.h" | 18 #include "base/macros.h" |
19 #include "base/memory/ref_counted.h" | 19 #include "base/memory/ref_counted.h" |
20 #include "base/memory/weak_ptr.h" | 20 #include "base/memory/weak_ptr.h" |
21 #include "base/task/cancelable_task_tracker.h" | 21 #include "base/task/cancelable_task_tracker.h" |
22 #include "base/time/time.h" | 22 #include "base/time/time.h" |
23 #include "base/timer/timer.h" | 23 #include "base/timer/timer.h" |
24 #include "chrome/browser/chromeos/settings/cros_settings.h" | 24 #include "chrome/browser/chromeos/settings/cros_settings.h" |
25 #include "chromeos/system/version_loader.h" | 25 #include "chromeos/system/version_loader.h" |
| 26 #include "components/policy/proto/device_management_backend.pb.h" |
26 #include "content/public/browser/browser_thread.h" | 27 #include "content/public/browser/browser_thread.h" |
27 #include "device/geolocation/geolocation_provider.h" | 28 #include "device/geolocation/geolocation_provider.h" |
28 #include "device/geolocation/geoposition.h" | 29 #include "device/geolocation/geoposition.h" |
29 #include "policy/proto/device_management_backend.pb.h" | |
30 #include "ui/base/idle/idle.h" | 30 #include "ui/base/idle/idle.h" |
31 | 31 |
32 namespace chromeos { | 32 namespace chromeos { |
33 class CrosSettings; | 33 class CrosSettings; |
34 namespace system { | 34 namespace system { |
35 class StatisticsProvider; | 35 class StatisticsProvider; |
36 } | 36 } |
37 } | 37 } |
38 | 38 |
39 namespace content { | 39 namespace content { |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 content::BrowserThread::ID creation_thread_; | 318 content::BrowserThread::ID creation_thread_; |
319 | 319 |
320 base::WeakPtrFactory<DeviceStatusCollector> weak_factory_; | 320 base::WeakPtrFactory<DeviceStatusCollector> weak_factory_; |
321 | 321 |
322 DISALLOW_COPY_AND_ASSIGN(DeviceStatusCollector); | 322 DISALLOW_COPY_AND_ASSIGN(DeviceStatusCollector); |
323 }; | 323 }; |
324 | 324 |
325 } // namespace policy | 325 } // namespace policy |
326 | 326 |
327 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_STATUS_COLLECTOR_H_ | 327 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_STATUS_COLLECTOR_H_ |
OLD | NEW |