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