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

Side by Side Diff: chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc

Issue 2383763002: Report ARC status asynchronously via DeviceStatusCollector (Closed)
Patch Set: Nits addressed Created 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/policy/device_status_collector.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
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::VolumeInfoFetcher(), 381 DeviceStatusCollector::VolumeInfoFetcher(),
382 DeviceStatusCollector::CPUStatisticsFetcher(), 382 DeviceStatusCollector::CPUStatisticsFetcher(),
383 DeviceStatusCollector::CPUTempFetcher()), 383 DeviceStatusCollector::CPUTempFetcher(),
384 DeviceStatusCollector::AndroidStatusFetcher()),
384 task_runner_)); 385 task_runner_));
385 } 386 }
386 387
387 } // namespace policy 388 } // namespace policy
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/policy/device_status_collector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698