Index: chrome/browser/themes/theme_service.h |
diff --git a/chrome/browser/themes/theme_service.h b/chrome/browser/themes/theme_service.h |
index b89a7ae4c86d2ce89e8462f5534be18e89c7e752..6514ff377fef2646cb09ee94d2857d5dd9d1deab 100644 |
--- a/chrome/browser/themes/theme_service.h |
+++ b/chrome/browser/themes/theme_service.h |
@@ -204,12 +204,14 @@ class ThemeService : public base::NonThreadSafe, |
// case we don't have a theme pack). |
void BuildFromExtension(const extensions::Extension* extension); |
+#if defined(ENABLE_MANAGED_USERS) |
// Returns true if the profile belongs to a supervised user. |
bool IsSupervisedUser() const; |
// Sets the current theme to the supervised user theme. Should only be used |
// for supervised user profiles. |
void SetSupervisedUserTheme(); |
+#endif |
#if defined(OS_MACOSX) |
// |nsimage_cache_| retains the images it has cached. |