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