Chromium Code Reviews| Index: chrome/utility/chrome_content_utility_ipc_whitelist.cc |
| diff --git a/chrome/utility/chrome_content_utility_ipc_whitelist.cc b/chrome/utility/chrome_content_utility_ipc_whitelist.cc |
| index 5715a9ccbf9e7efb8a5bec0a4fb2f12574554694..212d13306e25e4007cd9ef0fc9e04fd31fa2271a 100644 |
| --- a/chrome/utility/chrome_content_utility_ipc_whitelist.cc |
| +++ b/chrome/utility/chrome_content_utility_ipc_whitelist.cc |
| @@ -1,12 +1,15 @@ |
| -// Copyright 2014 The Chromium Authors. All rights reserved. |
| -// Use of this source code is governed by a BSD-style license that can be |
| -// found in the LICENSE file. |
| - |
| -#include "chrome/utility/chrome_content_utility_ipc_whitelist.h" |
| - |
| -namespace chrome { |
| - |
| -const uint32 kMessageWhitelist[] = {0}; |
| -const size_t kMessageWhitelistSize = arraysize(kMessageWhitelist); |
| - |
| -} // namespace chrome |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "chrome/utility/chrome_content_utility_ipc_whitelist.h" |
| +#include "chrome/common/chrome_utility_messages.h" |
| + |
| +namespace chrome { |
| + |
| +const uint32 kMessageWhitelist[] = {ChromeUtilityMsg_ImageWriter_Cancel::ID, |
| + ChromeUtilityMsg_ImageWriter_Write::ID, |
| + ChromeUtilityMsg_ImageWriter_Verify::ID}; |
|
Matt Perry
2014/02/14 00:16:23
What does this do?
Drew Haven
2014/02/14 02:32:56
In Windows we have to do our writing to USB device
|
| +const size_t kMessageWhitelistSize = arraysize(kMessageWhitelist); |
| + |
| +} // namespace chrome |