1 // Copyright 2019 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "base/enterprise_util.h"
7 #include "base/win/win_util.h"
11 bool IsMachineExternallyManaged() {
12 // TODO(rogerta): this function should really be:
14 // return IsEnrolledToDomain() || IsDeviceRegisteredWithManagement();
16 // However, for now it is decided to collect some UMA metrics about
17 // IsDeviceRegisteredWithMdm() before changing chrome's behavior.
18 return base::win::IsEnrolledToDomain();