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

Unified Diff: chrome/browser/themes/theme_service.h

Issue 355233002: Fix build when ENABLE_MANAGED_USERS is not defined (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits, minor refactoring Created 6 years, 5 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/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.

Powered by Google App Engine
This is Rietveld 408576698