Ivan Sandrk | 36c67cf2 | 2017-11-16 15:04:56 | [diff] [blame] | 1 | // Copyright 2017 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 EXTENSIONS_BROWSER_DEVICE_LOCAL_ACCOUNT_UTIL_H_ |
| 6 | #define EXTENSIONS_BROWSER_DEVICE_LOCAL_ACCOUNT_UTIL_H_ |
| 7 | |
| 8 | #include <string> |
| 9 | |
| 10 | // This file contains utilities used for device local accounts (public sessions |
| 11 | // / kiosks). Eg. check whether an extension is whitelisted for use in public |
| 12 | // session. |
| 13 | |
| 14 | namespace extensions { |
| 15 | |
| 16 | bool IsWhitelistedForPublicSession(const std::string& extension_id); |
| 17 | |
| 18 | } // namespace extensions |
| 19 | |
| 20 | #endif // EXTENSIONS_BROWSER_DEVICE_LOCAL_ACCOUNT_UTIL_H_ |