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

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: Made SetDisabled pure virtual 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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "chrome/browser/chromeos/login/users/affiliation.h" 15 #include "chrome/browser/chromeos/login/users/affiliation.h"
16 #include "chrome/browser/chromeos/policy/bluetooth_policy_handler.h"
16 #include "chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h" 17 #include "chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h"
17 #include "chrome/browser/policy/chrome_browser_policy_connector.h" 18 #include "chrome/browser/policy/chrome_browser_policy_connector.h"
18 #include "components/policy/core/common/cloud/cloud_policy_constants.h" 19 #include "components/policy/core/common/cloud/cloud_policy_constants.h"
19 20
20 class PrefRegistrySimple; 21 class PrefRegistrySimple;
21 class PrefService; 22 class PrefService;
22 23
23 namespace net { 24 namespace net {
24 class URLRequestContextGetter; 25 class URLRequestContextGetter;
25 } 26 }
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 DeviceCloudPolicyManagerChromeOS* device_cloud_policy_manager_; 165 DeviceCloudPolicyManagerChromeOS* device_cloud_policy_manager_;
165 PrefService* local_state_; 166 PrefService* local_state_;
166 scoped_ptr<DeviceManagementService> consumer_device_management_service_; 167 scoped_ptr<DeviceManagementService> consumer_device_management_service_;
167 scoped_ptr<DeviceCloudPolicyInitializer> device_cloud_policy_initializer_; 168 scoped_ptr<DeviceCloudPolicyInitializer> device_cloud_policy_initializer_;
168 scoped_ptr<DeviceLocalAccountPolicyService> 169 scoped_ptr<DeviceLocalAccountPolicyService>
169 device_local_account_policy_service_; 170 device_local_account_policy_service_;
170 scoped_ptr<AffiliatedCloudPolicyInvalidator> device_cloud_policy_invalidator_; 171 scoped_ptr<AffiliatedCloudPolicyInvalidator> device_cloud_policy_invalidator_;
171 scoped_ptr<AffiliatedRemoteCommandsInvalidator> 172 scoped_ptr<AffiliatedRemoteCommandsInvalidator>
172 device_remote_commands_invalidator_; 173 device_remote_commands_invalidator_;
173 174
175 scoped_ptr<chromeos::BluetoothPolicyHandler> bluetooth_policy_handler_;
176
174 // This policy provider is used on Chrome OS to feed user policy into the 177 // This policy provider is used on Chrome OS to feed user policy into the
175 // global PolicyService instance. This works by installing the cloud policy 178 // global PolicyService instance. This works by installing the cloud policy
176 // provider of the primary profile as the delegate of the ProxyPolicyProvider, 179 // provider of the primary profile as the delegate of the ProxyPolicyProvider,
177 // after login. 180 // after login.
178 // The provider is owned by the base class; this field is just a typed weak 181 // The provider is owned by the base class; this field is just a typed weak
179 // pointer to get to the ProxyPolicyProvider at SetUserPolicyDelegate(). 182 // pointer to get to the ProxyPolicyProvider at SetUserPolicyDelegate().
180 ProxyPolicyProvider* global_user_cloud_policy_provider_; 183 ProxyPolicyProvider* global_user_cloud_policy_provider_;
181 184
182 scoped_ptr<NetworkConfigurationUpdater> network_configuration_updater_; 185 scoped_ptr<NetworkConfigurationUpdater> network_configuration_updater_;
183 186
184 base::WeakPtrFactory<BrowserPolicyConnectorChromeOS> weak_ptr_factory_; 187 base::WeakPtrFactory<BrowserPolicyConnectorChromeOS> weak_ptr_factory_;
185 188
186 DISALLOW_COPY_AND_ASSIGN(BrowserPolicyConnectorChromeOS); 189 DISALLOW_COPY_AND_ASSIGN(BrowserPolicyConnectorChromeOS);
187 }; 190 };
188 191
189 } // namespace policy 192 } // namespace policy
190 193
191 #endif // CHROME_BROWSER_CHROMEOS_POLICY_BROWSER_POLICY_CONNECTOR_CHROMEOS_H_ 194 #endif // CHROME_BROWSER_CHROMEOS_POLICY_BROWSER_POLICY_CONNECTOR_CHROMEOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698