[email protected] | cce15bb | 2014-06-17 13:43:51 | [diff] [blame] | 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 |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USERS_H_ |
| 6 | #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USERS_H_ |
| 7 | |
Scott Violet | 6200d33 | 2018-02-23 21:29:23 | [diff] [blame] | 8 | #include "chrome/common/buildflags.h" |
brettw | 9e85ef4 | 2016-11-01 21:01:24 | [diff] [blame] | 9 | |
[email protected] | cce15bb | 2014-06-17 13:43:51 | [diff] [blame] | 10 | // Compile-time check to make sure that we don't include supervised user source |
treib | 87bb89cbb | 2014-12-01 16:01:47 | [diff] [blame] | 11 | // files when ENABLE_SUPERVISED_USERS is not defined. |
brettw | 9e85ef4 | 2016-11-01 21:01:24 | [diff] [blame] | 12 | #if !BUILDFLAG(ENABLE_SUPERVISED_USERS) |
[email protected] | cce15bb | 2014-06-17 13:43:51 | [diff] [blame] | 13 | #error "Supervised users aren't enabled." |
| 14 | #endif |
| 15 | |
| 16 | #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USERS_H_ |