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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USERS_H_ 5 #ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USERS_H_
6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USERS_H_ 6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USERS_H_
7 7
8 #include "chrome/common/features.h"
9
8 // Compile-time check to make sure that we don't include supervised user source 10 // Compile-time check to make sure that we don't include supervised user source
9 // files when ENABLE_SUPERVISED_USERS is not defined. 11 // files when ENABLE_SUPERVISED_USERS is not defined.
10 #if !defined(ENABLE_SUPERVISED_USERS) 12 #if !BUILDFLAG(ENABLE_SUPERVISED_USERS)
11 #error "Supervised users aren't enabled." 13 #error "Supervised users aren't enabled."
12 #endif 14 #endif
13 15
14 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USERS_H_ 16 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USERS_H_
OLDNEW
« 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