| OLD | NEW |
| 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_ |
| OLD | NEW |