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

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

Issue 2273783002: Move policy generated files to components/policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed headers Created 4 years, 3 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
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_status_collector.h" 5 #include "chrome/browser/chromeos/policy/device_status_collector.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 30 matching lines...) Expand all
41 #include "chromeos/dbus/dbus_thread_manager.h" 41 #include "chromeos/dbus/dbus_thread_manager.h"
42 #include "chromeos/dbus/update_engine_client.h" 42 #include "chromeos/dbus/update_engine_client.h"
43 #include "chromeos/disks/disk_mount_manager.h" 43 #include "chromeos/disks/disk_mount_manager.h"
44 #include "chromeos/network/device_state.h" 44 #include "chromeos/network/device_state.h"
45 #include "chromeos/network/network_handler.h" 45 #include "chromeos/network/network_handler.h"
46 #include "chromeos/network/network_state.h" 46 #include "chromeos/network/network_state.h"
47 #include "chromeos/network/network_state_handler.h" 47 #include "chromeos/network/network_state_handler.h"
48 #include "chromeos/settings/cros_settings_names.h" 48 #include "chromeos/settings/cros_settings_names.h"
49 #include "chromeos/system/statistics_provider.h" 49 #include "chromeos/system/statistics_provider.h"
50 #include "components/policy/core/common/cloud/cloud_policy_constants.h" 50 #include "components/policy/core/common/cloud/cloud_policy_constants.h"
51 #include "components/policy/proto/device_management_backend.pb.h"
51 #include "components/prefs/pref_registry_simple.h" 52 #include "components/prefs/pref_registry_simple.h"
52 #include "components/prefs/pref_service.h" 53 #include "components/prefs/pref_service.h"
53 #include "components/prefs/scoped_user_pref_update.h" 54 #include "components/prefs/scoped_user_pref_update.h"
54 #include "components/user_manager/user.h" 55 #include "components/user_manager/user.h"
55 #include "components/user_manager/user_manager.h" 56 #include "components/user_manager/user_manager.h"
56 #include "components/user_manager/user_type.h" 57 #include "components/user_manager/user_type.h"
57 #include "components/version_info/version_info.h" 58 #include "components/version_info/version_info.h"
58 #include "extensions/browser/extension_registry.h" 59 #include "extensions/browser/extension_registry.h"
59 #include "extensions/common/extension.h" 60 #include "extensions/common/extension.h"
60 #include "policy/proto/device_management_backend.pb.h"
61 #include "storage/browser/fileapi/external_mount_points.h" 61 #include "storage/browser/fileapi/external_mount_points.h"
62 #include "third_party/cros_system_api/dbus/service_constants.h" 62 #include "third_party/cros_system_api/dbus/service_constants.h"
63 63
64 using base::Time; 64 using base::Time;
65 using base::TimeDelta; 65 using base::TimeDelta;
66 66
67 namespace em = enterprise_management; 67 namespace em = enterprise_management;
68 68
69 namespace { 69 namespace {
70 // How many seconds of inactivity triggers the idle state. 70 // How many seconds of inactivity triggers the idle state.
(...skipping 1130 matching lines...) Expand 10 before | Expand all | Expand 10 after
1201 ScheduleGeolocationUpdateRequest(); 1201 ScheduleGeolocationUpdateRequest();
1202 } 1202 }
1203 1203
1204 void DeviceStatusCollector::ReceiveVolumeInfo( 1204 void DeviceStatusCollector::ReceiveVolumeInfo(
1205 const std::vector<em::VolumeInfo>& info) { 1205 const std::vector<em::VolumeInfo>& info) {
1206 if (report_hardware_status_) 1206 if (report_hardware_status_)
1207 volume_info_ = info; 1207 volume_info_ = info;
1208 } 1208 }
1209 1209
1210 } // namespace policy 1210 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698