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

Unified 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: Use Shutdown instead of SetDisabled, reverted changes in device/bluetooth/* 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h
diff --git a/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h b/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h
index 5b54e2ceea5fade7cc5dfcb494d43d55f279268d..392eab6a7b7de03ea216f9636e6806c0d4984b04 100644
--- a/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h
+++ b/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h
@@ -13,6 +13,7 @@
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "chrome/browser/chromeos/login/users/affiliation.h"
+#include "chrome/browser/chromeos/policy/bluetooth_policy_handler.h"
bartfab (slow) 2016/04/18 13:43:44 Nit: Forward-declare |chromeos::BluetoothPolicyHan
Ivan Šandrk 2016/04/18 15:09:18 Done.
#include "chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h"
#include "chrome/browser/policy/chrome_browser_policy_connector.h"
#include "components/policy/core/common/cloud/cloud_policy_constants.h"
@@ -173,6 +174,8 @@ class BrowserPolicyConnectorChromeOS
std::unique_ptr<AffiliatedRemoteCommandsInvalidator>
device_remote_commands_invalidator_;
+ std::unique_ptr<chromeos::BluetoothPolicyHandler> bluetooth_policy_handler_;
+
// This policy provider is used on Chrome OS to feed user policy into the
// global PolicyService instance. This works by installing the cloud policy
// provider of the primary profile as the delegate of the ProxyPolicyProvider,

Powered by Google App Engine
This is Rietveld 408576698