| 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 #include "chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h" | 5 #include "chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| (...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 371 void DeviceCloudPolicyManagerChromeOS::NotifyDisconnected() { | 371 void DeviceCloudPolicyManagerChromeOS::NotifyDisconnected() { |
| 372 FOR_EACH_OBSERVER( | 372 FOR_EACH_OBSERVER( |
| 373 Observer, observers_, OnDeviceCloudPolicyManagerDisconnected()); | 373 Observer, observers_, OnDeviceCloudPolicyManagerDisconnected()); |
| 374 } | 374 } |
| 375 | 375 |
| 376 void DeviceCloudPolicyManagerChromeOS::CreateStatusUploader() { | 376 void DeviceCloudPolicyManagerChromeOS::CreateStatusUploader() { |
| 377 status_uploader_.reset(new StatusUploader( | 377 status_uploader_.reset(new StatusUploader( |
| 378 client(), | 378 client(), |
| 379 base::MakeUnique<DeviceStatusCollector>( | 379 base::MakeUnique<DeviceStatusCollector>( |
| 380 local_state_, chromeos::system::StatisticsProvider::GetInstance(), | 380 local_state_, chromeos::system::StatisticsProvider::GetInstance(), |
| 381 DeviceStatusCollector::LocationUpdateRequester(), | |
| 382 DeviceStatusCollector::VolumeInfoFetcher(), | 381 DeviceStatusCollector::VolumeInfoFetcher(), |
| 383 DeviceStatusCollector::CPUStatisticsFetcher(), | 382 DeviceStatusCollector::CPUStatisticsFetcher(), |
| 384 DeviceStatusCollector::CPUTempFetcher()), | 383 DeviceStatusCollector::CPUTempFetcher()), |
| 385 task_runner_)); | 384 task_runner_)); |
| 386 } | 385 } |
| 387 | 386 |
| 388 } // namespace policy | 387 } // namespace policy |
| OLD | NEW |