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

Unified Diff: chrome/browser/supervised_user/supervised_users.h

Issue 2468723003: Move session service and supervised users to buildflags. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « chrome/browser/signin/chrome_signin_client.cc ('k') | chrome/browser/sync/chrome_sync_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/supervised_user/supervised_users.h
diff --git a/chrome/browser/supervised_user/supervised_users.h b/chrome/browser/supervised_user/supervised_users.h
index 82fcba6afdd6002ab3bd601eb26cbdf581464846..a9993686d5169009781baecabb062c15f151421f 100644
--- a/chrome/browser/supervised_user/supervised_users.h
+++ b/chrome/browser/supervised_user/supervised_users.h
@@ -5,9 +5,11 @@
#ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USERS_H_
#define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USERS_H_
+#include "chrome/common/features.h"
+
// Compile-time check to make sure that we don't include supervised user source
// files when ENABLE_SUPERVISED_USERS is not defined.
-#if !defined(ENABLE_SUPERVISED_USERS)
+#if !BUILDFLAG(ENABLE_SUPERVISED_USERS)
#error "Supervised users aren't enabled."
#endif
« no previous file with comments | « chrome/browser/signin/chrome_signin_client.cc ('k') | chrome/browser/sync/chrome_sync_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698