1 // Copyright 2020 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. 4 5 #ifndef CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_OS_SETTINGS_FEATURES_UTIL_H_ 6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_OS_SETTINGS_FEATURES_UTIL_H_ 7 8 class Profile; 9 10 namespace chromeos { 11 namespace settings { 12 namespace features { 13 14 bool IsGuestModeActive(); 15 16 // Determines whether the Parental Controls section of People settings should be 17 // shown for |profile|. 18 bool ShouldShowParentalControlSettings(const Profile* profile); 19 20 // Determines whether the External Storage section of Device settings should be 21 // shown for |profile|. 22 bool ShouldShowExternalStorageSettings(const Profile* profile); 23 24 } // namespace features 25 } // namespace settings 26 } // namespace chromeos 27 28 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_OS_SETTINGS_FEATURES_UTIL_H_ 29