blob: 3499a0f3e221b3e0e95f6583ec7e38c156cd268c [file] [log] [blame]
// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_SUPERVISED_USER_MODEL_SUPERVISED_USER_CAPABILITIES_H_
#define IOS_CHROME_BROWSER_SUPERVISED_USER_MODEL_SUPERVISED_USER_CAPABILITIES_H_
class ChromeBrowserState;
namespace supervised_user {
// Returns true if the browser state is subjected to parental controls, based on
// AccountInfo capabilities or prefs.
bool IsSubjectToParentalControls(ChromeBrowserState* browser_state);
} // namespace supervised_user
#endif // IOS_CHROME_BROWSER_SUPERVISED_USER_MODEL_SUPERVISED_USER_CAPABILITIES_H_