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 #include "chrome/utility/chrome_content_utility_ipc_whitelist.h" | 5 #include "chrome/utility/chrome_content_utility_ipc_whitelist.h" |
6 #include "chrome/common/chrome_utility_messages.h" | 6 #include "chrome/common/chrome_utility_messages.h" |
7 | 7 |
8 namespace chrome { | |
9 | |
10 const uint32 kMessageWhitelist[] = { | 8 const uint32 kMessageWhitelist[] = { |
11 #ifdef OS_WIN | 9 #ifdef OS_WIN |
12 ChromeUtilityHostMsg_GetAndEncryptWiFiCredentials::ID, | 10 ChromeUtilityHostMsg_GetAndEncryptWiFiCredentials::ID, |
13 #endif // OS_WIN | 11 #endif // OS_WIN |
14 ChromeUtilityMsg_ImageWriter_Cancel::ID, | 12 ChromeUtilityMsg_ImageWriter_Cancel::ID, |
15 ChromeUtilityMsg_ImageWriter_Write::ID, | 13 ChromeUtilityMsg_ImageWriter_Write::ID, |
16 ChromeUtilityMsg_ImageWriter_Verify::ID}; | 14 ChromeUtilityMsg_ImageWriter_Verify::ID}; |
17 | 15 |
18 const size_t kMessageWhitelistSize = arraysize(kMessageWhitelist); | 16 const size_t kMessageWhitelistSize = arraysize(kMessageWhitelist); |
19 | |
20 } // namespace chrome | |
OLD | NEW |