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_UTILITY_CHROME_CONTENT_UTILITY_IPC_WHITELIST_H_ | 5 #ifndef CHROME_UTILITY_CHROME_CONTENT_UTILITY_IPC_WHITELIST_H_ |
6 #define CHROME_UTILITY_CHROME_CONTENT_UTILITY_IPC_WHITELIST_H_ | 6 #define CHROME_UTILITY_CHROME_CONTENT_UTILITY_IPC_WHITELIST_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include <stddef.h> |
| 9 #include <stdint.h> |
9 | 10 |
10 // This array contains the list of IPC messages that the utility process will | 11 // This array contains the list of IPC messages that the utility process will |
11 // accept when running with elevated privileges. When new messages need to run | 12 // accept when running with elevated privileges. When new messages need to run |
12 // with elevated privileges, add them here and be sure to add a security | 13 // with elevated privileges, add them here and be sure to add a security |
13 // reviewer. | 14 // reviewer. |
14 extern const uint32 kMessageWhitelist[]; | 15 extern const uint32_t kMessageWhitelist[]; |
15 extern const size_t kMessageWhitelistSize; | 16 extern const size_t kMessageWhitelistSize; |
16 | 17 |
17 #endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_IPC_WHITELIST_H_ | 18 #endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_IPC_WHITELIST_H_ |
OLD | NEW |