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

Side by Side Diff: chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h

Issue 1784333002: Add Device Policy Handler for Bluetooth, and allow disabling the Bluetooth adapter on Chrome OS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bartfab's nits Created 4 years, 8 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_BROWSER_POLICY_CONNECTOR_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_BROWSER_POLICY_CONNECTOR_CHROMEOS_H_
6 #define CHROME_BROWSER_CHROMEOS_POLICY_BROWSER_POLICY_CONNECTOR_CHROMEOS_H_ 6 #define CHROME_BROWSER_CHROMEOS_POLICY_BROWSER_POLICY_CONNECTOR_CHROMEOS_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 11 matching lines...) Expand all
22 22
23 namespace net { 23 namespace net {
24 class URLRequestContextGetter; 24 class URLRequestContextGetter;
25 } 25 }
26 26
27 namespace policy { 27 namespace policy {
28 28
29 class AffiliatedCloudPolicyInvalidator; 29 class AffiliatedCloudPolicyInvalidator;
30 class AffiliatedInvalidationServiceProvider; 30 class AffiliatedInvalidationServiceProvider;
31 class AffiliatedRemoteCommandsInvalidator; 31 class AffiliatedRemoteCommandsInvalidator;
32 class BluetoothPolicyHandler;
32 class ConsumerManagementService; 33 class ConsumerManagementService;
33 class DeviceCloudPolicyInitializer; 34 class DeviceCloudPolicyInitializer;
34 class DeviceLocalAccountPolicyService; 35 class DeviceLocalAccountPolicyService;
35 class DeviceManagementService; 36 class DeviceManagementService;
36 struct EnrollmentConfig; 37 struct EnrollmentConfig;
37 class EnterpriseInstallAttributes; 38 class EnterpriseInstallAttributes;
38 class NetworkConfigurationUpdater; 39 class NetworkConfigurationUpdater;
39 class ProxyPolicyProvider; 40 class ProxyPolicyProvider;
40 class ServerBackedStateKeysBroker; 41 class ServerBackedStateKeysBroker;
41 42
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 std::unique_ptr<DeviceManagementService> consumer_device_management_service_; 167 std::unique_ptr<DeviceManagementService> consumer_device_management_service_;
167 std::unique_ptr<DeviceCloudPolicyInitializer> 168 std::unique_ptr<DeviceCloudPolicyInitializer>
168 device_cloud_policy_initializer_; 169 device_cloud_policy_initializer_;
169 std::unique_ptr<DeviceLocalAccountPolicyService> 170 std::unique_ptr<DeviceLocalAccountPolicyService>
170 device_local_account_policy_service_; 171 device_local_account_policy_service_;
171 std::unique_ptr<AffiliatedCloudPolicyInvalidator> 172 std::unique_ptr<AffiliatedCloudPolicyInvalidator>
172 device_cloud_policy_invalidator_; 173 device_cloud_policy_invalidator_;
173 std::unique_ptr<AffiliatedRemoteCommandsInvalidator> 174 std::unique_ptr<AffiliatedRemoteCommandsInvalidator>
174 device_remote_commands_invalidator_; 175 device_remote_commands_invalidator_;
175 176
177 std::unique_ptr<BluetoothPolicyHandler> bluetooth_policy_handler_;
178
176 // This policy provider is used on Chrome OS to feed user policy into the 179 // This policy provider is used on Chrome OS to feed user policy into the
177 // global PolicyService instance. This works by installing the cloud policy 180 // global PolicyService instance. This works by installing the cloud policy
178 // provider of the primary profile as the delegate of the ProxyPolicyProvider, 181 // provider of the primary profile as the delegate of the ProxyPolicyProvider,
179 // after login. 182 // after login.
180 // The provider is owned by the base class; this field is just a typed weak 183 // The provider is owned by the base class; this field is just a typed weak
181 // pointer to get to the ProxyPolicyProvider at SetUserPolicyDelegate(). 184 // pointer to get to the ProxyPolicyProvider at SetUserPolicyDelegate().
182 ProxyPolicyProvider* global_user_cloud_policy_provider_; 185 ProxyPolicyProvider* global_user_cloud_policy_provider_;
183 186
184 std::unique_ptr<NetworkConfigurationUpdater> network_configuration_updater_; 187 std::unique_ptr<NetworkConfigurationUpdater> network_configuration_updater_;
185 188
186 base::WeakPtrFactory<BrowserPolicyConnectorChromeOS> weak_ptr_factory_; 189 base::WeakPtrFactory<BrowserPolicyConnectorChromeOS> weak_ptr_factory_;
187 190
188 DISALLOW_COPY_AND_ASSIGN(BrowserPolicyConnectorChromeOS); 191 DISALLOW_COPY_AND_ASSIGN(BrowserPolicyConnectorChromeOS);
189 }; 192 };
190 193
191 } // namespace policy 194 } // namespace policy
192 195
193 #endif // CHROME_BROWSER_CHROMEOS_POLICY_BROWSER_POLICY_CONNECTOR_CHROMEOS_H_ 196 #endif // CHROME_BROWSER_CHROMEOS_POLICY_BROWSER_POLICY_CONNECTOR_CHROMEOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698